Share via


COM_PowerDown (Windows CE 5.0)

Send Feedback

This function indicates to the serial port driver that the hardware platform is about to enter suspend mode.

BOOL COM_PowerDown(HANDLE pContext);

Parameters

  • pContext
    [in] Pointer to a handle to the device.

Return Values

Zero indicates success. A value of 1 indicates failure.

Remarks

This function is exported to users. As with all power-down handlers, this function cannot call functions in other DLLs, memory allocators, or debugging output functions, nor can it perform actions that could cause a page fault.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Developer defined.
Library: Serial.lib.

See Also

COM_PowerUp

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.