This function sets either the driver’s global event mask, set initially by the CardRegisterClient function, or an event mask for a specified socket and function pair as specified in the CARD_EVENT_MASK_PARMS structure.
STATUS CardSetEventMask( CARD_CLIENT_HANDLE hCardClient CARD_EVENT_MASK_PARMS pMaskParms );
CERR_SUCCESS indicates success. One of the following values indicates failure:
If the global event mask is requested, the socket identifier in CARD_EVENT_MASK_PARMS is ignored.
To specify event masks for use with a particular socket, call the CardRequestSocketMask function.
PCMCIA
CARD_EVENT_MASK_PARMS, CardGetEventMask, CardRequestSocketMask