CARD_DATA_PARMS

The CARD_DATA_PARMS structure contains tuple information passed to CardGetTupleData.

Syntax

typedef struct {
CARD_SOCKET_HANDLE
hSocket;
UINT16
fAttributes;
UINT8
uDesiredTuple;
UINT8
uTupleOffset;
UINT16
fFlags;
UINT32
uLinkOffset;
UINT32
uCISOffset;
UINT16
uBufLen;
UINT16
uDataLen;
} CARD_DATA_PARMS, *PCARD_DATA_PARMS;

Members

hSocket
Specifies a handle to a socket and function pair.
fAttributes
Specify TUPLE_RETURN_LINKS (first bit is one) to return link tuples. (Input)
uDesiredTuple
Specifies the desired tuple code. If 0xFF, then the first tuple encountered is returned. See PC Card Tuple Codes (Input)
uTupleOffset
Specifies an offset into tuple data. (Input)
fFlags
Specifies flags used internally by Card Services. A driver must maintain this value between calls to tuple functions. (Input/Output)
uLinkOffset
Specifies a Tuple link offset used internally by Card Services. A driver must maintain this value between calls to tuple functions. (Input/Output)
uCISOffset
Specifies CIS state information used internally by Card Services. A driver must maintain this value between calls to tuple functions. (Input/Output)
uBufLen
Specifies the length (maximum number of bytes) of tuple data. (Input)
uDataLen
Specifies the length (actual number of bytes) of tuple data. (Output)

Remarks

Because this structure is similar to the CARD_TUPLE_PARMS structure, a driver could potentially use a single CARD_DATA_PARMS structure for all calls to CardGetFirstTuple, CardGetNextTuple and CardGetTupleData.

See Also

CARD_TUPLE_PARMS, CardGetFirstTuple, CardGetNextTuple, CardGetTupleData, PC Card Tuple Codes