This function retrieves either the driver’s global event mask or the event mask for a particular socket and function. The event mask specifies the events that trigger a callback.
STATUS CardGetEventMask( CARD_CLIENT_HANDLE hCardClient PCARD_EVENT_MASK_PARMS pMaskParms );
CERR_SUCCESS indicates success. One of the following values indicates failure:
If a stream interface driver used the CardRequestSocketMask function to associate a socket and function pair with an event mask, this function retrieves the event mask for the specified socket and function; otherwise, it retrieves the global event mask as set initially by CardRegisterClient.
This function returns the current event mask in the fEventMask member of CARD_EVENT_MASK_PARMS. If this function returns a global event mask, it ignores the structure’s socket identifier member hSocket.
PCMCIA
CARD_EVENT_MASK_PARMS, CardRequestSocketMask, CardSetEventMask