INtime SDK Help
ReleaseRtBuffer (deprecated)

Returns a previously-allocated buffer to its heap. The buffer must have been allocated from the heap to which it is being returned. It does not have to be returned by the same process that allocated it.

BOOLEAN ReleaseRtBuffer(
    RTHANDLE hHeap, 
    LPVOID lpBuffer, 
    WORD wType
);

Parameters

hHeap
A handle for the heap to where the buffer is to be returned.
lpBuffer
A pointer to the buffer to return to the heap.
wType
The type of buffer to return. Currently the only type supported is CONTIGUOUS_BUFFER.

Return Values

TRUE
Success.
FALSE
Failure. To determine the status, call GetLastRtError.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib

See Also

Memory management system calls, RequestRtBuffer