IoUnregisterFileSystem function (ntifs.h)

The IoUnregisterFileSystem routine removes a file system's control device object from the global file system queue.

Syntax

void IoUnregisterFileSystem(
  [in] PDEVICE_OBJECT DeviceObject
);

Parameters

[in] DeviceObject

Pointer to the control device object for the file system.

Return value

None

Remarks

IoUnregisterFileSystem unregisters the file system as an active file system by removing the file system's control device object from the global file system queue, and decrements the reference count on the file system's control device object.

IoUnregisterFileSystem calls the notification routines of file system filter drivers that have registered for this notification by calling IoRegisterFsRegistrationChange.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL < DISPATCH_LEVEL

See also

IoRegisterFileSystem

IoRegisterFsRegistrationChange

IoUnregisterFsRegistrationChange