IoIsFileObjectIgnoringSharing function (ntddk.h)

The IoIsFileObjectIgnoringSharing routine determines if a file object is set with the option to ignore file sharing access checks.

Syntax

BOOLEAN IoIsFileObjectIgnoringSharing(
  PFILE_OBJECT FileObject
);

Parameters

FileObject

Pointer to a file object for the file.

Return value

TRUE if file sharing access checks are ignored. Otherwise, FALSE.

Requirements

Requirement Value
Minimum supported client This routine is available starting with Windows Vista.
Target Platform Universal
Header ntddk.h (include Ntddk.h, Ntifs.h, Fltkernel.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any

See also

IoSetFileObjectIgnoreSharing