INetworkListManager::GetConnectivity method (netlistmgr.h)

The GetConnectivity method returns the overall connectivity state of the machine.

Syntax

HRESULT GetConnectivity(
  [out] NLM_CONNECTIVITY *pConnectivity
);

Parameters

[out] pConnectivity

Pointer to an NLM_CONNECTIVITY enumeration value that contains a bitmask that specifies the network connectivity of this machine.

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

INetworkListManager