Share via


SDAllocateFromMemList (Compact 2013)

3/26/2014

This function allocates an entry from a memory look-aside list.

Syntax

PVOID SDAllocateFromMemList(
  SD_MEMORY_LIST_HANDLE hList
);

Parameters

  • hList
    [in] Handle to the memory list.

Return Value

This function returns a pointer to a block of memory from the memory list. This function returns a free entry unless additional allocations from the system heap fail, in which case, it returns NULL. The returned pointer return can be used in the SDFreeToMemList function to return the entry to the memory list.

Requirements

Header

sdcardddk.h

Library

sdcardlib.lib

See Also

Reference

Secure Digital (SD) Card Driver Functions
SDFreeToMemList