Share via


CCHeapReAlloc

The CCHeapReAlloc function reallocates memory allocated by the CCHeapAlloc function.

LPVOID WINAPICCHeapReAlloc(LPVOIDlpMem,
DWORDdwBytes,
BOOLbZeroInit);

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 Values

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

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Nmapi.lib.

DLL Requires Nmapi.dll.

See Also

SetCCInstPtr, GetCCInstPtr, CCHeapAlloc, CCHeapFree, CCHeapSize