User`s manual

48 Remote Management
CloseCOM
Description
Closes the initialized COM port.
Syntax
BOOL CloseCOM(HANDLE hCom)
Parameter
com The initialized COM port.
Return Value
TRUE if the function succeeded. FALSE if the function failed.
Example
BOOL ret;
ret= CloseCOM (hCom);