Share via


SDHCDAllocateContext (Compact 2013)

3/26/2014

This function allocates a secure digital (SD) card host controller driver context structure.

Syntax

SD_API_STATUS SDHCDAllocateContext(
  DWORD cSlots,
  PSDCARD_HC_CONTEXT *ppHostContext
);

Parameters

  • CSlots
    [in] A DWORD value that specifies the number of slots.
  • *ppHostContext
    [out] A pointer to caller supplied storage for the allocated host controller context structure.

Return Value

A return value of type SD_API_STATUS indicates success or failure.

Requirements

Header

sdhcd.h

Library

SDHCLib.lib

See Also

Reference

Secure Digital (SD) Card Driver Functions