Compartir a través de


SDGetTuple (Compact 2013)

3/26/2014

This function retrieves tuple data from the card information structure (CIS) region of a secure digital input output (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

See Also

Reference

Secure Digital (SD) Card Driver Functions