WSDAttachLinkedMemory function

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

This function does not return a value.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WsdUtil.h (include Wsdapi.h)

Library

Wsdapi.lib

DLL

Wsdapi.dll

 

 

Community Additions

ADD
Show: