VCOMM_PM_API_cevtget
include vcomm.inc
mov ebx, hPort
mov cx, evmask
les dx, oldmask
mov ax, VCOMM_PM_API_cevtget
call [_VCOMMCallAddr]
Calls the _VCOMM_GetCommEventMask service. Uses AX.
- Returns zero in AX if successful, or an error value otherwise.
- 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.
- oldmask
- Address of a 32-bit variable that receives the combination of enabled events that were detected since the last call to this service.
See Also
CommNotifyProc, _VCOMM_GetCommEventMask