PortSetCommState

cCall [pPortSetCommState], <hPort, <OFFSET32 dcbPort>, \
    ActionMask>
or      eax, eax
jz      error_handler
 

Called by the _VCOMM_SetCommState 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.

hPort
Address of a _PORTINFORMATION structure returned by the PortOpen function.
dcbPort
Address of a _DCB structure containing device control information.
ActionMask
One or more values specifying the communications settings to change. For more information, see the _VCOMM_SetCommState service.

See Also

_DCB, _PORTINFORMATION, PortOpen, _VCOMM_SetCommState