PortSetCommConfig

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

Called by the _VCOMM_SetCommConfig service to set the hardware state of a port and the software state of the associated port driver. Uses the C calling convention. Must be callable at interrupt time. Like PortGetCommConfig, on entry dwSize is the size of the dcbPort buffer and must be greater than or equal to the size of the port's Win32 DCB.

hPort
Address of a _PORTINFORMATION structure returned by the PortOpen function.
dcbPort
Address of a _DCB structure containing device control information.
dwSize
The size, in bytes, of the _DCB structure.

See Also

_DCB, _PORTINFORMATION, PortOpen, _VCOMM_SetCommConfig