Export (0) Print
Expand All
Expand Minimize

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

WinUser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Power Management Functions
RegisterPowerSettingNotification

 

 

Community Additions

ADD
Show:
© 2014 Microsoft