Share via


WSDAllocateLinkedMemory (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Web Services on Devices Functions
Web Services on Devices Reference