VCOMM_PM_API_cFlush


include vcomm.inc

mov     ax, VCOMM_PM_API_cFlush     ;function number
mov     ebx, hPort
mov     cx, queue
call    [_VCOMMCallAddr]

Calls the _VCOMM_PurgeComm service. Uses AX.

hPort

Communications resource handle.

queue

The queue to purge: 0 for transmit queue, 1 for receive queue.

See also _VCOMM_PurgeComm