INetworkListManager::GetNetworkConnections method (netlistmgr.h)

The GetNetworkConnections method enumerates a complete list of the network connections that have been made.

Syntax

HRESULT GetNetworkConnections(
  [out] IEnumNetworkConnections **ppEnum
);

Parameters

[out] ppEnum

Pointer to a pointer that receives an IEnumNetworkConnections interface instance that enumerates all network connections on the machine.

Return value

Returns S_OK if the method succeeds. Otherwise, the method returns one of the following values.

Return code Description
E_POINTER
The pointer passed is NULL.

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