Share via


SurfaceHeap::Free (Compact 2013)

3/26/2014

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.

Syntax

void Free();

Parameters

None.

Return Value

None.

Remarks

This method does not release the memory occupied by the actual SurfaceHeap object. For that, you should delete the SurfaceHeap object.

Requirements

Header

ddgpe.h

Library

Ddgpe.lib

See Also

Reference

SurfaceHeap Class
SurfaceHeap Class Definition