Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Clone method creates an enumerator that contains the same enumeration state as the enumerator currently in use.
Syntax
HRESULT Clone(
[out] IEnumNetworkConnections **ppEnumNetwork
);
Parameters
[out] ppEnumNetwork
Pointer to new IEnumNetworkConnections interface instance.
Return value
Returns S_OK if the method succeeds. Otherwise, the method returns one of the following values.
Return code | Description |
---|---|
|
The ppEnum parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
|
Failed for unknown reasons. |
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 |