Packet Sniffer SDK DLL Edition

Events :: OnConfigChange

 Previous Next

Fires when the network adapter configuration changes.

Syntax:

void __stdcall OnConfigChange(DWORD_PTR Param, HANDLE hConfig, DWORD ChangeType);

Parameters:

Param

[in] OnConfigChange event handler parameter. May be set by the MgrSetOnConfigChange function call.

hConfig

[in] The handle of the changed HNAdapterConfig object.

ChangeType

[in] The type of the configuration changes. This parameter values are defined by HNAdapterConfigChange enumeration.

Description:

OnConfigChange event fires immediately before or after the network adapter configuration is changed or deleted.

See also:HNPSManager, MgrSetOnConfigChange, MgrInitialize MgrInitialize, MgrRefreshAdapterList, AdpCfgUpdate