PowerSettingUnregisterNotification function
Cancels a registration to receive notification when a power setting changes.
Syntax
DWORD WINAPI PowerSettingUnregisterNotification( _Inout_ HPOWERNOTIFY RegistrationHandle );
Parameters
- RegistrationHandle [in, out]
-
A handle to a registration obtained by calling the PowerSettingRegisterNotification function.
Return value
Returns ERROR_SUCCESS (zero) if the call was successful, and a nonzero value if the call failed.
Requirements
Minimum supported client | Windows 7 [desktop apps only] |
---|---|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header |
|
Library |
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/16/2012