IoUnregisterShutdownNotification 関数 (wdm.h)

IoUnregisterShutdownNotification ルーチンは、シャットダウン通知キューから登録済みのドライバーを削除します。

構文

void IoUnregisterShutdownNotification(
  [in] PDEVICE_OBJECT DeviceObject
);

パラメーター

[in] DeviceObject

ドライバーのデバイス オブジェクトへのポインター。

戻り値

なし

解説

IoUnregisterShutdownNotification は、そのドライバーが以前に IoRegisterShutdownNotification または IoRegisterLastChanceShutdownNotification を指定した DeviceObject と呼んだ場合にのみ、ドライバーによって呼び出すことができます。 このルーチンは通常、ドライバーの Unload ルーチンから呼び出されます。

IoUnregisterShutdownNotification を呼び出すと、指定された DeviceObject に登録されているすべてのシャットダウン通知が取り消されます。

要件

要件
サポートされている最小のクライアント Windows 2000 以降で使用できます。
対象プラットフォーム ユニバーサル
Header wdm.h (Wdm.h、Ntddk.h、Ntifs.h を含む)
Library NtosKrnl.lib
[DLL] NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI コンプライアンス規則 HwStorPortProhibitedDDIs(storport), IrqlIoPassive5(wdm), PowerIrpDDis(wdm)

こちらもご覧ください

IoRegisterLastChanceShutdownNotification

IoRegisterShutdownNotification