Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Embedded
Windows Embedded CE
Windows CE 5.0
Power Management
 ReleasePowerRequirement

  Switch on low bandwidth view
Platform Builder for Microsoft Windows CE 5.0
ReleasePowerRequirement
Send Feedback

This function requests that the Power Manager release a power requirement previously set with SetPowerRequirement. Applications and drivers should always explicitly release their power requirements as soon as they cease to be necessary.

DWORD ReleasePowerRequirement(
  HANDLE hPowerReq
);

Parameters

hPowerReq
[in] Specifies a handle returned by a previous successful call to SetPowerRequirement.

Return Values

ERROR_SUCCESS
Success.
ERROR_INVALID_HANDLE
Invalid handle.
Win32 error code
All other errors.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Pm.h.
Link Library: Coredll.lib.

See Also

SetPowerRequirement


Send Feedback on this topic to the authors

Feedback FAQs


© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker