Compartir a través de


ReleasePowerRequirement (Windows CE 5.0)

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

© 2006 Microsoft Corporation. All rights reserved.