Share via


SDHCDAllocateContext (Windows Embedded CE 6.0)

1/6/2010

This function allocates a secure digital 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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Secure Digital Card Driver Functions