_VCOMM_GetCommState

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.

hPort
Handle of a communications resource.
dcbPort
Address of a _DCB structure that receives the current communications settings.

See Also

_DCB, _VCOMM_GetLastError, _VCOMM_SetCommState