Hardware Dev Center

MIB_NOTIFICATION_TYPE enumeration

The MIB_NOTIFICATION_TYPE enumeration type defines the notification type that is passed to a callback function when a notification occurs.

Syntax


typedef enum _MIB_NOTIFICATION_TYPE { 
  MibParameterNotification  = 0,
  MibAddInstance            = 1,
  MibDeleteInstance         = 2,
  MibInitialNotification    = 3
} MIB_NOTIFICATION_TYPE, *PMIB_NOTIFICATION_TYPE;

Constants

MibParameterNotification

A parameter was changed.

MibAddInstance

A new MIB instance was added.

MibDeleteInstance

An existing MIB instance was deleted.

MibInitialNotification

A notification that is invoked immediately after registration for change notification completes. This initial notification does not indicate that a change occurred to a MIB instance. The purpose of this initial notification type is to provide confirmation that the callback function is properly registered.

Remarks

The MIB_NOTIFICATION_TYPE enumerated type is used with the callback function that is specified in the Callback parameter of one of the IP Helper NotifyXxx functions to specify the notification type.

On Windows Vista and later versions of the Windows operating systems, new functions are provided to register the driver to be notified when an IPv6 or IPv4 interface changes, an IPv6 or IPv4 unicast address changes, or an IPv6 or IPv4 route changes. These registration functions require that a callback function be passed that is called when a change occurs. One of the parameters that is passed to the callback function when a notification occurs is a parameter that contains a MIB_NOTIFICATION_TYPE value that indicates the notification type.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Netioapi.h (include Netioapi.h)

See also

NotifyIpInterfaceChange
NotifyRouteChange2
NotifyStableUnicastIpAddressTable
NotifyTeredoPortChange
NotifyUnicastIpAddressChange

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft