Allocates a memory buffer from a heap object and returns a pointer to the caller. If insufficient resources are available to meet the request, a NULL pointer is returned.
LPVOID RequestRtBuffer(
    RTHANDLE hHeap,    // a handle for the heap
    DWORD    cbSize,   // the size of the buffer to allocate
    LPWORD   lpType    // a pointer to a variable to receive the buffer type
);
hHeap 
cbSize 
lpType 
NULL pointer 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |