include vcomm.inc VxDcall _VCOMM_GetCommQueueStatus, <hPort, <OFFSET32 cmst>> or eax, eax jz error_handler
Retrieves information about the status of a communications channel and the amount of data in the receive and transmit queues. Uses the C calling convention. This is an asynchronous service.
hPort
Handle of a communications resource.
cmst
Address of a _COMSTAT structure that receives status information.
See also _COMSTAT, _VCOMM_GetLastError