システムが中断または再開されたときに通知を受け取る登録を取り消します。
構文
DWORD PowerUnregisterSuspendResumeNotification(
[in, out] HPOWERNOTIFY RegistrationHandle
);
パラメーター
[in, out] RegistrationHandle
PowerRegisterSuspendResumeNotification 関数を呼び出して取得した登録へのハンドル。
戻り値
呼び出しが成功した場合ERROR_SUCCESS (ゼロ) を返し、呼び出しが失敗した場合は 0 以外の値を返します。
要件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント | Windows 8 [デスクトップ アプリのみ] |
| サポートされている最小のサーバー | Windows Server 2012 [デスクトップ アプリのみ] |
| 対象プラットフォーム | Windows |
| ヘッダー | powerbase.h |
| Library | Powrprof.lib |
| [DLL] | Powrprof.dll |