INetworkEvents::NetworkConnectivityChanged method

The NetworkConnectivityChanged method is called when network connectivity related changes occur.

Syntax

HRESULT NetworkConnectivityChanged(
  GUID             networkId,
  NLM_CONNECTIVITY newConnectivity
);

Parameters

networkId

A GUID that specifies the new network that was added.

newConnectivity

NLM_CONNECTIVITY enumeration value that contains the new connectivity of this network.

Return value

Returns S_OK if the method succeeds.

Requirements

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

See also

INetworkEvents

NLM_CONNECTIVITY