VOID
IoUpdateShareAccess(
IN PFILE_OBJECT FileObject,
IN OUT PSHARE_ACCESS ShareAccess
);
IoUpdateShareAccess updates the share access for the given file object, usually when the file is being opened.
Value |
Meaning |
FILE_SHARE_READ |
Other open operations may be performed on the file for read access. |
FILE_SHARE_WRITE |
Other open operations may be performed on the file for write access. |
FILE_SHARE_DELETE |
Other open operations may be performed on the file for delete access. |
Callers of IoUpdateShareAccess must be running at IRQL PASSIVE_LEVEL. The caller must have made a successful call to IoCheckShareAccess with Update set to FALSE before it called IoUpdateShareAccess.