共用方式為


IO_CONTAINER_NOTIFICATION_CLASS列舉 (wdm.h)

IO_CONTAINER_NOTIFICATION_CLASS 列舉包含常數,指出內核模式驅動程式可以註冊以接收通知的事件類別。

語法

typedef enum _IO_CONTAINER_NOTIFICATION_CLASS {
  IoSessionStateNotification,
  IoMaxContainerNotificationClass
} IO_CONTAINER_NOTIFICATION_CLASS;

常數

 
IoSessionStateNotification
工作階段狀態通知。 驅動程式會使用此列舉常數來要求通知驅動程式感興趣的用戶會話狀態變更。
IoMaxContainerNotificationClass
指定這個列舉型別中的最大值。

言論

若要註冊通知,驅動程式會呼叫 IoRegisterContainerNotification 例程,並將此例程的 NotificationClass 參數設定為 IO_CONTAINER_NOTIFICATION_CLASS 常數(除了 IoMaxContainerNotificationClass以外)。 目前,IoRegisterContainerNotification 僅支援 NotificationClass = IoSessionStateNotification

要求

要求 價值
最低支援的用戶端 Windows 7 和更新版本的 Windows作系統支援。
標頭 wdm.h (包括 Wdm.h、Ntddk.h、Ntifs.h、Fltkernel.h)

另請參閱

IoRegisterContainerNotification