Microsoft Windows CE 3.0  

CardResetFunction

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function resets a specified card function in a specified socket.

STATUS CardResetFunction(
CARD_CLIENT_HANDLE
hCardClient
CARD_SOCKET_HANDLE
hSock
);

Parameters

hCardClient
Handle obtained from the CardRegisterClientfunction.
hSock
Handle to a socket and function pair.

Return Values

CERR_SUCCESS indicates success. One of the following values indicates failure.

CERR_BAD_HANDLE
Indicates that the driver handle specified for hCardClientis invalid.
CERR_BAD_SOCKET
Indicates that the socket identifier specified for hSockis invalid.
CERR_IN_USE
Indicates that another driver owns the configuration for the requested socket, owns the interrupt windows, or has exclusive access on the card.
CERR_NO_CARD
Indicates that no PC Card is inserted in the specified socket.

Remarks

If there are no conflicts, Card Services resets the socket and function pair before this function returns.

Driver name

PCMCIA

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later      
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CARD_EVENT, CardRequestIRQ



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.