INetworkConnection::GetConnectivity method (netlistmgr.h)

The GetConnectivity method returns the connectivity state of the network connection.

Syntax

HRESULT GetConnectivity(
  [out] NLM_CONNECTIVITY *pConnectivity
);

Parameters

[out] pConnectivity

Pointer to a NLM_CONNECTIVITY enumeration value that contains a bitmask that specifies the connectivity of 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

INetworkConnection