This function closes the serial device. It is called in response to an application’s call to the CloseHandle function.
BOOL COM_Close( DWORD pContext );
TRUE indicates success. FALSE indicates failure.
The Device Manager calls this routine to close the device.
This function is defined in the Mdd.c file.