INetwork::GetNetworkConnections method (netlistmgr.h)
The GetNetworkConnections method returns an enumeration of all network connections for a network. A network can have multiple connections to it from different interfaces or different links from the same interface.
Syntax
HRESULT GetNetworkConnections(
[out] IEnumNetworkConnections **ppEnumNetworkConnection
);
Parameters
[out] ppEnumNetworkConnection
Pointer to an IEnumNetworkConnections interface instance that enumerates the list of local connections to 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 |