Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 |
|---|---|
|
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 |