INetworkConnectionEvents::NetworkConnectionConnectivityChanged method (netlistmgr.h)

The NetworkConnectionConnectivityChanged method notifies a client when connectivity change events occur on a network connection level.

Syntax

HRESULT NetworkConnectionConnectivityChanged(
  [in] GUID             connectionId,
  [in] NLM_CONNECTIVITY newConnectivity
);

Parameters

[in] connectionId

A GUID that identifies the network connection on which the event occurred.

[in] newConnectivity

NLM_CONNECTIVITY enumeration value that specifies the new connectivity for this network connection.

Return value

Returns S_OK if the method succeeds.

Requirements

Requirement Value
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

INetworkConnectionEvents

NLM_CONNECTIVITY