Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
Given a number of bytes to allocate, this method reserves a block of memory from the specified heap. A new SurfaceHeap object is created to encapsulate this block of memory. When the resulting heap is destroyed, it is marked for reuse.
Syntax
SurfaceHeap* Alloc(
DWORD size
);
Parameters
- size
The size, in bytes, for the new subheap allocated from the current heap.
Return Value
Returns a new SurfaceHeap object that contains memory allocated by the specified parent heap. If allocation fails, Returns NULL.
Requirements
| Header | ddgpe.h |
| Library | Ddgpe.lib |
| Windows Embedded CE | Windows Embedded CE 6.0 and later |