ExpertMemorySize
The ExpertMemorySize function returns the amount of memory allocated by the ExpertAllocMemory function.
SIZE_T WINAPIExpertMemorySize(HEXPERTKEYhExpertKey,
LPVOIDpOriginalMemory);
Parameters
- hExpertKey
[in] Unique expert identifier. Network Monitor passes hExpertKey to the expert when it calls the Run function. - pOriginalMemory
[in] Pointer to the memory address of the expert allocated by ExpertAllocMemory.
Return Values
The function returns the amount of allocated memory — in bytes.
Remarks
For information on the SIZE_T data type that ExpertMemorySize returns, see Data Types.
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. |