Share via


COM_Close

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

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.