This function associates a socket and function pair with an event mask for the driver. Card Services then restricts its future callbacks to the driver to those associated with the event mask passed to the CardRequestSocketMask function.
STATUS CardRequestSocketMask( CARD_CLIENT_HANDLE hCardClient CARD_SOCKET_HANDLE hSock UINT16 fEventMask );
CERR_SUCCESS indicates success. One of the following values indicates failure:
An event mask should not be confused with the global event mask, which pertains to all sockets and is set by CardRegisterClient.
The CardSetEventMask function can change either a socket-specific event mask or the mask specified by CardRegisterClient.
PCMCIA