INtime SDK Help
HeapReAlloc (iwin32)
INtime SDK v7 > About INtime > Alternate APIs > iwin32 API > iwin32 API > HeapReAlloc (iwin32)

Provides the same features as realloc. Provided only for compatibility.

LPVOID HeapReAlloc(
    HANDLE hHeap,
    DWORD dwFlags,
    LPVOID lpMem,
    DWORD dwBytes
);

Parameters

hHeap
Ignored.
dwFlags
Ignored.
lpMem
Pointer to the memory block the function reallocates. An earlier call to HeapAlloc or HeapReAlloc returns this pointer.
dwBytes
Size of the new memory block, in bytes. This option can increase or decrease a memory block's size.

Return Values

Pointer to the memory block
Success.
NULL
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, HeapSize, realloc, SetLastError, iwin32 API, iwin32 Overview