次の方法で共有


SDGetTuple (Windows CE 5.0)

Send Feedback

This function retrieves tuple data from the card information structure (CIS) region of an SDIO card.

SD_API_STATUS SDGetTuple(SD_DEVICE_HANDLEhDevice,
  UCHARTupleCode,
  PUCHARpBuffer,
  PULONGpBufferSize,
  BOOLCommonCIS);

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 pBuffer is 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 Values

A return value of type SD_API_STATUS indicates success or failure.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Sdcardddk.h.
Link Library: Sdcardlib.lib.

See Also

Secure Digital Card Driver Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.