CCHeapSize function

The CCHeapSize function returns the size of the memory allocated by the CCHeapAlloc function.

Syntax

SIZE_T WINAPI CCHeapSize(
   LPVOID lpMem
);

Parameters

lpMem

Pointer to the allocated memory.

Return value

If the function is successful, the return value is the size of the requested memory block measured in bytes.

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
Netmon.h
Library
Nmapi.lib
DLL
Nmapi.dll

See also

SetCCInstPtr

GetCCInstPtr

CCHeapAlloc

CCHeapFree

CCHeapReAlloc