SDGetTuple
Other versions of this page are also available for the following:
8/28/2008
This function retrieves tuple data from the card information structure (CIS) region of an SDIO card.
Syntax
SD_API_STATUS SDGetTuple(
SD_DEVICE_HANDLE hDevice,
UCHAR TupleCode,
PUCHAR pBuffer,
PULONG pBufferSize,
BOOL CommonCIS
);
Parameters
- hDevice
[in] Handle to an SD bus device.
- TupleCode
[in] Tuple to be retrieved from the CIS region of the SDIO card.
- pBuffer
[out] Pointer to the buffer to receive the tuple data. If set to NULL, the size of the tuple is returned in pBufferSize.
- pBufferSize
[in, out] Size of pBuffer. If pBufferis set to NULL, this value will store the size of the tuple. A returned size of zero indicates an absent tuple.
- CommonCIS
[in] Tuple read flag. If set to FALSE, the tuple is read from the function specific CIS of the device. If set to TRUE, the tuple is read from the common CIS.
Return Value
A return value of type SD_API_STATUS indicates success or failure.
Requirements
Header | sdcardddk.h |
Library | sdcardlib.lib |
Windows Embedded CE | Windows CE 5.0 and later |