| \n |
| Microsoft Invisible Computing |
The IHeapFactory interface is a factory for heaps. It wraps the CreateHeapFrom utility function for a given heap.
C type for interface pointer:
Extends IUnknown
Implemented by GenericHeapFactory NullHeapFactory BitMapHeapFactory FirstFitHeapFactory NullHeapFactory BitMapHeapFactory FirstFitHeapFactory DebugHeapFactory TmpHeapFactory
Creates a new instance of the given IHeap implementation class.
Creates a new instance of the given IHeap implementation class using another heap for storage.
Creates a new instance of the given IHeap implementation class.
SCODE Create(
/*in,this*/ PIHEAPFACTORY iThis,
/*in*/ ADDRESS MemoryStart,
/*in*/ UINT Flags,
/*in*/ UINT InitialSize,
/*in*/ UINT MaximumSize,
/*out*/ PIHEAP* ppHeap)
Start of the memory to be managed by the new heap.
Default flags for the heap. See HEAP_FLAGS.
A heap might assume only this much memory will actually be used and optimize accordingly. If in doubt use the same value as MaximumSize
Size of the memory block starting at MemoryStart.
The newly created object is returned here.
SCODE IHeapFactory::Create(
/*in*/ ADDRESS MemoryStart,
/*in*/ UINT Flags,
/*in*/ UINT InitialSize,
/*in*/ UINT MaximumSize,
/*out*/ PIHEAP* ppHeap)
Creates a new instance of the given IHeap implementation class using another heap for storage.
SCODE CreateNested(
/*in,this*/ PIHEAPFACTORY iThis,
/*in*/ PIHEAP pRealHeap,
/*in*/ UINT Flags,
/*in*/ UINT InitialSize,
/*in*/ UINT MaximumSize,
/*out*/ PIHEAP* ppHeap)
This heap does not support nesting.
The underlying heap to allocate from.
Default flags for the heap. See HEAP_FLAGS.
A heap might assume only this much memory will actually be used and optimize accordingly. If in doubt use the same value as MaximumSize
Size of the memory block starting at MemoryStart.
The newly created object is returned here.
SCODE IHeapFactory::CreateNested(
/*in*/ PIHEAP pRealHeap,
/*in*/ UINT Flags,
/*in*/ UINT InitialSize,
/*in*/ UINT MaximumSize,
/*out*/ PIHEAP* ppHeap)
| ©2006 Microsoft Corporation. All rights reserved. | Terms of Use | Privacy Statement | Accessibility | End User License Agreement |