Microsoft Windows CE 3.0  


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 next tuple of the specified type for the specified socket and function.

STATUS CardGetNextTuple(


Pointer to a CARD_TUPLE_PARMSstructure.

Return Values

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

Indicates that the pointer specified for pGetTupleParmsis invalid.
Indicates that the hSocketsocket identifier in CARD_TUPLE_PARMSis invalid or that no PC Card is inserted in the socket.
Indicates that the end of CIS has been reached or that the requested tuple was not found.
Indicates that Card Services is unable to set up a memory window to read the CIS.
Indicates that no PC Card is inserted or that the PC Card is unreadable.


This function follows the CIS tuple chain, as specified by the uLinkOffset, uCISOffset, and fFlagsmembers of CARD_TUPLE_PARMS. These members were set by a previous call to the CardGetFirstTuplefunction or this function.

To obtain tuple data, use CardGetTupleData.

The driver retains the values returned in the uLinkOffset, uCISOffset, and fFlagsmembers of CARD_TUPLE_PARMSso that subsequent calls to this function or CardGetTupleDatacan follow the tuple chain. The driver does not access the uTupleCodeand uTupleLinkmembers unless the return value is CERR_SUCCESS.

The CARD_TUPLE_PARMSand CARD_DATA_PARMSstructures are arranged so that their corresponding members are aligned. With care, drivers can use a single buffer in all calls to the Card Services tuple functions.

Driver name



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_DATA_PARMS, CARD_TUPLE_PARMS, CardGetFirstTuple, CardGetTupleData

 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.