Microsoft Windows CE 3.0  

CardGetStatus

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 retrieves the current status of the specified socket and function pair.

STATUS CardGetStatus(
PCARD_STATUS
pStatus
);

Parameters

pStatus
Pointer to a CARD_STATUSstructure used to return the status information.

Return Values

CERR_SUCCESS indicates success. If the CARD_STATUS structure referenced by the pStatusparameter contains invalid information in its hSocketmember, this function returns CERR_BAD_SOCKET. If the pStatusparameter itself is invalid, this function returns CERR_BAD_ARGS.

Remarks

The status is any of the event masks defined in the Cardserv.h header file, such as write protect, card lock, and battery dead. You can determine the status from the bit mask values this function retrieves in CARD_STATUS.

Driver name

PCMCIA

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Cardserv.h    
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_STATUS



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.