ExpertMemorySize function
The ExpertMemorySize function returns the amount of memory allocated by the ExpertAllocMemory function.
Syntax
SIZE_T WINAPI ExpertMemorySize(
_In_ HEXPERTKEY hExpertKey,
_In_ LPVOID pOriginalMemory
);
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 value
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
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|