![]() |
| Home |
|
|
Function RTPCGetFirstTupleRTPCGetFirstTuple searches a data tuple in a card's Configuration Information Space (CIS):
int RTPCGetFirstTuple(int Socket,
BYTE DesiredTuple,
RTPCTupleInfo * Handle,
BYTE * Tuple);
ParametersSocketThe socket number to read from. DesiredTupleThe tuple identifier to look for. If this parameter is set to RTPC_CISTPL_ANYTUPLE (FFh), the first tuple of the CIS will be returned. HandleMust point to a variable of type RTPCTupleInfo. The function stores housekeeping information here. Do not access any data stored here. return valueIf the function succeeds, the tuple found is stored at *Tuple and the function return value is RTPC_SUCCESS. If it fails, it returns an error code. Please see section PC Cards (PCMCIA) for details.
|