CWin32Heap::Attach 

Attaches the heap object to an existing heap.


void Attach(
   HANDLE hHeap,
   bool bTakeOwnership 
) throw( );

Parameters

hHeap

An existing heap handle.

bTakeOwnership

A flag indicating if the CWin32Heap object is to take ownership over the resources of the heap.

If bTakeOwnership is TRUE, the CWin32Heap object is responsible for deleting the heap handle.

Community Additions

ADD
Show: