PortGetQueueStatus

cCall [pPortGetQueueStatus], <hPort, <OFFSET32 cmst>>
or      eax, eax
jz      error_handler
 

Called by _VCOMM_GetCommQueueStatus to retrieve information about the status of a communications channel and the amount of data in the receive and transmit queues. Uses the C calling convention. Must be callable at interrupt time.

hPort
Address of a _PORTINFORMATION structure returned by the PortOpen function.
cmst
Address of a _COMSTAT structure that receives status information.

See Also

_COMSTAT, _PORTINFORMATION, PortOpen, _VCOMM_GetCommQueueStatus