PortGetCommConfig

cCall   [pPortGetCommConfig], <hPort, <OFFSET32 dcbPort, \
           <OFFSET32 dwSize>>
or      eax, eax
jz      error_handler
 

Called by the _VCOMM_GetCommConfig service to get the Win32 device control block (_DCB) of a port. Uses the C calling convention. Fills the dcbPort buffer with the Win32 DCB and fills dwSize with the size of the Win32 DCB. If dwSize is less than the size of the port's Win32 DCB structure on entry, the function does not copy the DCB into the buffer and returns FALSE.

hPort
Address of a _PORTINFORMATION structure returned by the PortOpen function.
dcbPort
Address of a buffer that is filled with the Win32 _DCB structure.
dwSize
Address of the size, in bytes, of the dcbPort buffer.

See Also

_DCB, _PORTINFORMATION, PortOpen, _VCOMM_GetCommConfig