IoSetFileObjectIgnoreSharing - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddk.h

NTSTATUS IoSetFileObjectIgnoreSharing(
  PFILE_OBJECT FileObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddk-iosetfileobjectignoresharing)

Description

The IoSetFileObjectIgnoreSharing routine sets a file object to ignore file sharing access checks.

Parameters

FileObject

Pointer to a file object for the file.

Return value

IoSetFileObjectIgnoreSharing returns STATUS_SUCCESS or an appropriate NTSTATUS code such as one of the following:

Return code Description
STATUS_NOT_FOUND The option information for FileObject was not found. The status of sharing access checking cannot be set.
STATUS_INSUFFICIENT_RESOURCES The option information was not created for FileObject. The status of sharing access checking cannot be set.

See also

IoIsFileObjectIgnoringSharing