include vcomm.inc
VxDCall _VCOMM_GetCommState, <hPort, <OFFSET32 dcbPort>>
or eax, eax
jz error_handler
Gets the current communications settings for a communications resource. Uses the C calling convention.
_DCB, _VCOMM_GetLastError, _VCOMM_SetCommState