_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