Edit

IEnumPortableDeviceConnectors::Clone method

The Clone method creates a copy of the current IEnumPortableDeviceConnectors interface.

Syntax

HRESULT Clone(
  [out] IEnumPortableDeviceConnectors **ppEnum
);

Parameters

ppEnum [out]

The address of a pointer to an IEnumPortableDeviceConnectors interface. The calling application must release this interface when it is done with it.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
Header
Devpkey.h;
Portabledeviceconnectapi.h
IDL
Portabledeviceconnectapi.idl
Library
PortableDeviceGuids.lib

See also

IEnumPortableDeviceConnectors