COM_Close (Windows CE 5.0)

Send Feedback

This function closes the serial device. It is called after an application calls the CloseHandle function.

BOOL COM_Close(DWORD pContext);

Parameters

  • pContext
    [in] Context pointer returned from the COM_Open function.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

The Device Manager calls this routine to close the device.

Requirements

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

See Also

COM_Init | COM_Open

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.