CCHeapReAlloc function
The CCHeapReAlloc function reallocates memory allocated by the CCHeapAlloc function.
Syntax
LPVOID WINAPI CCHeapReAlloc(
LPVOID lpMem,
DWORD dwBytes,
BOOL bZeroInit
);
Parameters
-
lpMem
-
Pointer to the original allocated memory.
-
dwBytes
-
Size of the reallocated memory, measured in bytes.
-
bZeroInit
-
Indicator of whether reallocated memory was initialized. If the parameter value is TRUE, the newly reallocated memory initializes to zero.
Return value
If the function is successful, the return value is a pointer to the reallocated memory.
If the function is unsuccessful, the return value is NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|