UnregisterPowerSettingNotification function
Unregisters the power setting notification.
Syntax
BOOL WINAPI UnregisterPowerSettingNotification( _In_ HPOWERNOTIFY Handle );
Parameters
- Handle [in]
-
The handle returned from the RegisterPowerSettingNotification function.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Show: