This method releases memory allocated for the current heap. Because Free is called automatically by the SurfaceHeap destructor, your driver does not typically need to call this method.
Void Free(void);
Parameters
None.
Return Values
None.
Remarks
This method does not release the memory occupied by the actual SurfaceHeap object. For that, you should delete the SurfaceHeap object.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddgpe.h.
Link Library: Ddgpe.lib.
See Also
SurfaceHeap Class | SurfaceHeap Class Definition
Send Feedback on this topic to the authors