Share via


WSDAllocateLinkedMemory (Compact 2013)

3/26/2014

This function allocates a linked memory block.

Syntax

void* WSDAllocateLinkedMemory(
  void* pParent,
  size_t cbSize
);

Parameters

  • pParent
    Pointer to the parent memory block.
  • cbSize
    Size of the memory block to be allocated.

Return Value

This function returns a pointer to the newly allocated memory block.

Remarks

The memory block allocated by WSDAllocateLinkedMemory is linked to a parent memory block and is freed when the parent memory block is freed.

If pParent is NULL the allocated memory block must be explicitly freed by calling WSDFreeLinkedMemory.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Functions
Web Services on Devices Reference