COM_Close (Windows CE 5.0)
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
Send Feedback on this topic to the authors