include vcomm.inc mov ax, VCOMM_PM_API_StaCom ;function number mov ebx, hPort les dx, pstat call [_VCOMMCallAddr] pop ebx
Calls the _VCOMM_ClearCommError service.
hPort
Communications resource handle.
pstat
Address of a _COMSTAT structure that receives information about the current communications state.
See also _VCOMM_ClearCommError