SurfaceHeap Class (Compact 2013)
3/26/2014
The SurfaceHeap class is a heap management class that should be used when the capabilities of the Node2D class do not satisfy the requirements of your driver. It is most useful when your driver is capable of supporting surface types of different bit depths. Your driver is not required to use the SurfaceHeap class. However, Mirosoft recommends that when you develop a new driver or extend DDHAL support in an existing driver, you migrate from Node2D to SurfaceHeap. For a description of the SurfaceHeap class, see SurfaceHeap Class Definition.
The following table shows the methods defined in the SurfaceHeap class.
Method |
Description |
---|---|
Constructor for the SurfaceHeap class. |
|
Retrieves the address of the current heap. |
|
Reserves a block of memory from the specified heap. |
|
Determines the amount of nonallocated memory in the current heap. |
|
Releases memory from the current heap. |
|
Retrieves the size, in bytes, of the current heap, excluding subsequent nodes. |
|
Retrieves the total size of the current heap. |