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

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

LPVOID HeapAlloc(
    HANDLE hHeap,
    DWORD dwFlags,
    DWORD dwBytes
);

Parameters

hHeap
Ignored.
dwFlags
Ignored.
dwBytes
Number of bytes to allocate.

Return Values

Pointer to allocated memory block
Success.
NULL
Failure; function does not call SetLastError.

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

HeapFree, HeapReAlloc, HeapSize, malloc, iwin32 API, iwin32 Overview