include vcomm.inc mov ebx, hPort mov cx, evmask les dx, mymask mov ax, VCOMM_PM_API_cevt call [_VCOMMCallAddr]
Calls the _VCOMM_SetCommEventMask service. Uses AX.
hPort
Communications resource handle.
evmask
The low word of event mask, which contains the bits that duplicate the Windows 3.1 functionality. VCOMM sets the high word to zero.
mymask
Address of the event variable in the client's VM. Because the port driver updates this value at interrupt time, it must be in locked memory.
See also _VCOMM_SetCommEventMask