Packet Sniffer SDK DLL Edition

HNPSManager :: Properties :: MgrGetAdaptersCfgCount

 Previous Next

Returns the number of HNAdapterConfig objects.

DWORD __stdcall MgrGetAdaptersCfgCount(HANDLE hMgr);

Parameters:

hMgr

[in] HNPSManager object handle.

Return values:

If the function succeeds the return value will be the value equal to the total amount of HNAdapterConfig objects created for all of the network adapters which were found out in the system after executing MgrInitialize or MgrRefreshAdapterList functions.

Description:

MgrGetAdaptersCfgCount may be used only after the execution of MgrInitialize and MgrRefreshAdapterList functions has been completed successfully.

See also:HNPSManager, MgrInitialize, MgrRefreshAdapterList