\n
Microsoft Invisible Computing

TmpHeap Concrete Class

Nested heap implementation.

Implements IHeap

Methods

THQueryInterface implements IUnknown.QueryInterface
Source in tmp_heap.c

Determines which interfaces an object supports and returns a valid pointer to an interface.

THAddRef implements IUnknown.AddRef
Source in tmp_heap.c

Increments the reference count of the object.

THRelease implements IUnknown.Release
Source in tmp_heap.c

Decrements the reference count of an object. When the count goes to zero, the object is destroyed.

THAlloc implements IHeap.Alloc
Source in tmp_heap.c

Allocates a heap block of at least Size bytes from the given heap.

THRealloc implements IHeap.Realloc
Source in tmp_heap.c

Changes the size of a previously allocated memory block.

UNIMPLEMENTED implements IHeap.Free

Frees a block of memory previously allocated through a call to the IHeap.Alloc or IHeap.Realloc methods.

UNIMPLEMENTED implements IHeap.Size

Returns the usable size of the memory block pointed by pMem, a block that was allocated out of the given heap. Returns 0 if error.

UNIMPLEMENTED implements IHeap.Validate

Validates the internal heap data structures. Checks the entire heap when pMem is NULL, otherwise verifies that the specified memory block is valid.

UNIMPLEMENTED implements IHeap.Extract

Allocates memory at a specific address, from the given heap.

THStatus implements IHeap.Status
Source in tmp_heap.c

Returns status information about this heap

UNIMPLEMENTED implements IHeap.CreateHeap

Create a new heap instance, either through allocating memory from this or from implementation specific resources.

©2006 Microsoft Corporation. All rights reserved. Terms of Use Privacy Statement Accessibility End User License Agreement