PortGetEventMask


cCall [pPortGetEventMask], <hPort, dwMask, <OFFSET32 dwEvents>>
or      eax, eax
jz      error_handler

Called by the _VCOMM_GetCommEventMask service to retrieve and clear the specified event flags for a port. Uses the C calling convention. Must be callable at interrupt time.

hPort

Address of a _PORTINFORMATION structure returned by the PortOpen function.

dwMask

One or more values specifying the events to retrieve and clear. For a list of events, see _VCOMM_GetCommEventMask.

dwEvents

Address of the event variable. Can be NULL, in which case the location of the event variable is unchanged.

See also _PORTINFORMATION, PortOpen, _VCOMM_GetCommEventMask