Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Remarks
If bTakeOwnership is TRUE, the CWin32Heap object is responsible for deleting the heap handle.
Requirements
Header: atlmem.h