INtime SDK Help
GetRtBufferSize (deprecated)

Returns the allocated size of a buffer previously allocated from a heap.

DWORD GetRtBufferSize(
    RTHANDLE hHeap,
    LPVOID lpBuffer,
    WORD wType
);

Parameters

hHeap
A handle for the heap object from which the buffer was allocated.
lpBuffer
A pointer to a buffer previously allocated from a heap.
wType
The buffer type. The only type currently supported is CONTIGUOUS_BUFFER.

Remarks

This function maps to GetRtSize.

Return Values

A DWORD value containing the number of bytes allocated to this buffer.
Success.
0
Failure. To view detailed error information, 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, GetRtSize