PortGetModemStatus

cCall [pPortGetModemStatus], <hPort, <OFFSET32 dwModemStatus>>
or      eax, eax
jz      error_handler
 

Called by the _VCOMM_GetModemStatus service to retrieve the current value of the modem status register. Uses the C calling convention. Must be callable at interrupt time.

hPort
Address of a _PORTINFORMATION structure returned by the PortOpen function.
dwModemStatus
Address of a 32-bit variable to receive the modem status. For a list of possible values, see the _VCOMM_GetModemStatus service.

See Also

_PORTINFORMATION, _VCOMM_GetModemStatus