Packet Sniffer SDK DLL Edition

Constants Enumerations :: HNAdapterConfigChange

 Previous Next

HNAdapterConfigChange enumeration contains the constant values corresponding to the network device state changes, which can be controlled by the OnConfigChange event handler.

Syntax:

const acDelete             = $000;  
const acIpChange           = $001;  
const acIpDhcpChange       = $002;  
const acIpGatewayChange    = $004;  
const acIpDnsChange        = $008;  
const acZeroBroadcastState = $010;  
const acDhcpState          = $020;  
const acCreate             = $FFF;
enum HNAdapterConfigChange
{
   acDelete             = 0x000,
   acIpChange           = 0x001,
   acIpDhcpChange       = 0x002,
   acIpGatewayChange    = 0x004,
   acIpDnsChange        = 0x008,
   acZeroBroadcastState = 0x010,
   acDhcpState          = 0x020,
   acCreate             = 0xFFF
};

Values:

acDelete

Exclusively used by the PSSDK library. On calling the MgrRefreshAdapterList function it is sent to the OnConfigChange event handler. Do not use this value in the AdpCfgUpdate function call.

acIpChange

IP protocol settings update.

acIpDhcpChange

DHCP settings update.

acIpGatewayChange

Gateways settings update.

acIpDnsChange

DNS settings update.

acZeroBroadcastState

The status flag of the IP zero broadcast usage update.

acDhcpState

The status flag of the DHCP usage update.

acCreate

Creation of the new configuration. Exclusively used by the PSSDK library. On calling the MgrInitialize and MgrRefreshAdapterList functions it is sent to the OnConfigChange event handler. Do not use this value in the AdpCfgUpdate function call.

See also:HNPSManager, OnConfigChange, MgrInitialize, MgrRefreshAdapterList, HNAdapterConfig, AdpCfgUpdate