PortGetCommState

cCall   [pPortGetCommState], <hPort, <OFFSET32 dcbPort>>
or      eax, eax
jz      error_handler
 

Called by the _VCOMM_GetCommState service to get the device control block (_DCB) of a port. Uses the C calling convention.

hPort
Address of a _PORTINFORMATION structure returned by the PortOpen function.
dcbPort
Address of a _DCB structure that is filled in.

See Also

_DCB, _PORTINFORMATION, PortOpen, _VCOMM_GetCommState