IoUnregisterFsRegistrationChange 函数 (ntifs.h)

IoUnregisterFsRegistrationChange 例程取消注册文件系统筛选器驱动程序的文件系统注册更改通知例程。

语法

void IoUnregisterFsRegistrationChange(
  [in] PDRIVER_OBJECT          DriverObject,
  [in] PDRIVER_FS_NOTIFICATION DriverNotificationRoutine
);

参数

[in] DriverObject

指向筛选器驱动程序的驱动程序对象的指针。

[in] DriverNotificationRoutine

指向PDRIVER_FS_NOTIFICATION例程 指针,文件系统在注册或注销自身时调用该例程。

返回值

备注

IoUnregisterFsRegistrationChange 取消注册文件系统筛选器驱动程序的通知例程,以便在文件系统调用 IoRegisterFileSystemIoUnregisterFileSystem 时不再调用它。 IoUnregisterFsRegistrationChange 还会递减筛选器驱动程序的驱动程序对象的引用计数。

要求

要求
目标平台 通用
标头 ntifs.h (包括 Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL < DISPATCH_LEVEL

另请参阅

IoRegisterFileSystem

IoRegisterFsRegistrationChange

IoUnregisterFileSystem