Packet Sniffer SDK DLL Edition

HNPSManager :: Properties :: MgrGetWANMonitorState

 Previous Next

Returns the WAN Monitor installation status.

Syntax:

BOOL __stdcall MgrGetWANMonitorState(HANDLE hMgr);

Parameters:

hMgr

[in] HNPSManager object handle.

Return values:

MgrGetWANMonitorState returns the WAN Monitor installation status. TRUE - WAN Monitor is installed, FALSE - WAN Monitor is not installed.

Description:

There is Miniport WAN (Network monitor) device in the Win2k, XP, Win2003, and WinLH operation systems. To capture Dial-Up connection traffic you should open this device and set its MAC filter (HNAdapter.MacFilter property) in mfAll.

Miniport WAN (Network monitor) device has system name \Device\NdisWanBh, which can be retrieved from HNAdapterConfig object by AdapterName property.

Use MgrGetWANMonitorState to get the WAN Monitor installation status.

MgrGetWANMonitorState is not supported in the Windows NT 4.0.
See also:HNPSManager, HNAdapterConfig, HNAdapterConfig.AdapterName, HNAdapter, HNAdapter.MacFilter, MgrSetWANMonitorState