COM_Close

This function closes the serial device. It is called in response to an application’s call to the CloseHandle function.

Syntax

BOOL COM_Close( DWORD pContext );

Parameters

pContext
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.

This function is defined in the Mdd.c file.

See Also

COM_Init, COM_Open