The CardReleaseSocketMask function disables the callbacks requested by CardRequestSocketMask for a particular socket and function pair.
STATUS CardReleaseSocketMask(
CARD_CLIENT_HANDLE hCardClient
CARD_SOCKET_HANDLE hSock );
If the function succeeds, the return value is CERR_SUCCESS; otherwise, it is one of the following values.
Value | Description |
---|---|
CERR_BAD_HANDLE | Indicates an invalid hCardClient driver handle. |
CERR_BAD_SOCKET | Indicates an invalid hSock socket identifier or there is no PC Card inserted in the socket. It can also be returned when no prior call was made to CardRequestSocketMask. |
CardReleaseSocketMask does not disable the global events set by CardRegisterClient.