WSDAttachLinkedMemory function (wsdutil.h)

Attaches a child memory block to a parent memory block. Multiple children can be attached to a parent memory block.

Syntax

void WSDAttachLinkedMemory(
  void *pParent,
  void *pChild
);

Parameters

pParent

Pointer to the parent memory block.

pChild

Pointer to the child memory block.

Return value

None

Remarks

The child memory block is automatically freed when the parent memory block is freed. Both the parent and child memory blocks must have been previously allocated by calls to WSDAllocateLinkedMemory.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdutil.h (include Wsdapi.h)
Library Wsdapi.lib
DLL Wsdapi.dll