NLM_CONNECTIVITY enumeration (netlistmgr.h)

The NLM_Connectivity enumeration is a set of flags that provide notification whenever connectivity related parameters have changed.

Syntax

typedef enum NLM_CONNECTIVITY {
  NLM_CONNECTIVITY_DISCONNECTED = 0,
  NLM_CONNECTIVITY_IPV4_NOTRAFFIC = 0x1,
  NLM_CONNECTIVITY_IPV6_NOTRAFFIC = 0x2,
  NLM_CONNECTIVITY_IPV4_SUBNET = 0x10,
  NLM_CONNECTIVITY_IPV4_LOCALNETWORK = 0x20,
  NLM_CONNECTIVITY_IPV4_INTERNET = 0x40,
  NLM_CONNECTIVITY_IPV6_SUBNET = 0x100,
  NLM_CONNECTIVITY_IPV6_LOCALNETWORK = 0x200,
  NLM_CONNECTIVITY_IPV6_INTERNET = 0x400
} ;

Constants

 
NLM_CONNECTIVITY_DISCONNECTED
Value: 0
The underlying network interfaces have no connectivity to any network.
NLM_CONNECTIVITY_IPV4_NOTRAFFIC
Value: 0x1
There is connectivity to a network, but the service cannot detect any IPv4 Network Traffic.
NLM_CONNECTIVITY_IPV6_NOTRAFFIC
Value: 0x2
There is connectivity to a network, but the service cannot detect any IPv6 Network Traffic.
NLM_CONNECTIVITY_IPV4_SUBNET
Value: 0x10
There is connectivity to the local subnet using the IPv4 protocol.
NLM_CONNECTIVITY_IPV4_LOCALNETWORK
Value: 0x20
There is connectivity to a routed network using the IPv4 protocol.
NLM_CONNECTIVITY_IPV4_INTERNET
Value: 0x40
There is connectivity to the Internet using the IPv4 protocol.
NLM_CONNECTIVITY_IPV6_SUBNET
Value: 0x100
There is connectivity to the local subnet using the IPv6 protocol.
NLM_CONNECTIVITY_IPV6_LOCALNETWORK
Value: 0x200
There is connectivity to a local network using the IPv6 protocol.
NLM_CONNECTIVITY_IPV6_INTERNET
Value: 0x400
There is connectivity to the Internet using the IPv6 protocol.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header netlistmgr.h