This function releases exclusive access to a socket and function pair.
STATUS CardReleaseExclusive( CARD_CLIENT_HANDLE hCardClient, CARD_SOCKET_HANDLE hSocket );
[in] Client handle obtained from the CardRegisterClient function.
[in] Handle to a socket and function pair.
CERR_SUCCESS indicates success. One of the following values indicates failure:
Indicates that the driver handle specified for hCardClient is not valid.
Indicates that the socket identifier specified for hSocket is not valid or that a PC Card is not inserted.
Indicates that another driver owns exclusive use.
Card services informs all registered drivers that a socket and function pair is available by first sending a CE_CARD_REMOVAL event code to the callback function of the calling driver, and then sending a CE_CARD_INSERTION event code to each registered client's callback function.
OS Versions: Windows CE 1.0 and later.
Link Library: Cardserv.lib.
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.