Compartilhar via


HWPowerOn (Windows CE 5.0)

Send Feedback

This function notifies the platform-dependent driver that the hardware platform is resuming from suspend mode. The model device driver (MDD) calls this function.

BOOL HWPowerOn(PVOID pContext);

Parameters

  • pContext
    [in] Pointer to a context structure returned by the HWInit function that contains implementation-specific data describing the device.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function is called when the device enters a power-up state. Because this call is without a standard process and thread context, be careful when writing this function. Do not use any DLLs or system calls, such as Sleep. This function restores its state from local storage, and then returns.

This function supports the implementation of the lower layers of serial port drivers.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Serhw.h.

See Also

HWInit

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.