Clone Method
Collapse the table of content
Expand the table of content

IEnumNetworkConnections::Clone method

The Clone method creates an enumerator that contains the same enumeration state as the enumerator currently in use.

Syntax


HRESULT STDMETHODCALLTYPE Clone(
  [out] IEnumNetworkConnections **ppEnumNetwork
);

Parameters

ppEnumNetwork [out]

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 codeDescription
E_POINTER

The ppEnum parameter is not a valid pointer.

E_OUTOFMEMORY

Insufficient memory exists to perform the operation.

E_UNEXPECTED

Failed for unknown reasons.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Netlistmgr.h

IDL

Netlistmgr.idl

See also

IEnumNetworkConnections

 

 

Community Additions

ADD
Show:
© 2016 Microsoft