INetwork::GetConnectivity method (netlistmgr.h)

The GetConnectivity method returns the connectivity state of the network.

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 state of this network.

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

INetwork

NLM_CONNECTIVITY