INtime SDK Help
HeapSize (iwin32)
INtime SDK v6 > About INtime > Alternate APIs > iwin32 API > iwin32 API > HeapSize (iwin32)

Obtains the size, in bytes, of the given memory unit. Provided only for compatibility.

DWORD HeapSize(
    HANDLE hHeap,
    DWORD dwFlags,
    LPCVOID lpMem
);

Parameters

hHeap
Ignored.
dwFlags
Ignored.
lpMem
Pointer to the memory block whose size the function will obtain.

This is a pointer returned by HeapAlloc or HeapReAlloc.

Return Values

The size, in bytes, of the allocated memory block
Success.
0xFFFFFFFF
Failure; function does not call SetLastError. For extended error information, see GetLastError.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/winbase.h windows.h iwin32.lib

Note

This function operates in the real-time portion of your application.

See Also

HeapAlloc, HeapFree, HeapReAlloc, iwin32 API, iwin32 Overview