INetworkListManager::GetNetworkConnections method

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

Syntax

HRESULT GetNetworkConnections(
  IEnumNetworkConnections **ppEnum
);

Parameters

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

   
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