IoIsFileObjectIgnoringSharing routine

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

Target platform

Universal

Version

This routine is available starting with Windows Vista.

Header

Ntddk.h (include Ntddk.h, Ntifs.h, or Fltkernel.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

Any

See also

IoSetFileObjectIgnoreSharing

 

 

Send comments about this topic to Microsoft

Show: