cCall [pPortPurge], <hPort, dwQueueType> or eax, eax jz error_handler
Called by the _VCOMM_PurgeComm service to discard information in the receive or transmit queue, and cancel pending reads or writes. Uses the C calling convention.
hPort
Address of a _PORTINFORMATION structure returned by the PortOpen function.
dwQueueType
The queue to purge: 0 if transmit queue, 1 if receive queue.
See also _PORTINFORMATION, PortOpen, _VCOMM_PurgeComm