Skip to content

Latest commit

 

History

History
121 lines (99 loc) · 3.44 KB

nf-portabledeviceapi-iportabledevicecontent-copy.md

File metadata and controls

121 lines (99 loc) · 3.44 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:portabledeviceapi.IPortableDeviceContent.Copy
IPortableDeviceContent::Copy (portabledeviceapi.h)
The Copy method copies objects from one location on a device to another.
Copy
Copy method [Windows Portable Devices SDK]
Copy method [Windows Portable Devices SDK]
IPortableDeviceContent interface
IPortableDeviceContent interface [Windows Portable Devices SDK]
Copy method
IPortableDeviceContent.Copy
IPortableDeviceContent::Copy
IPortableDeviceContentCopy
portabledeviceapi/IPortableDeviceContent::Copy
wpdsdk.iportabledevicecontent_copy
wpdsdk\iportabledevicecontent_copy.htm
wpdsdk
46d6abad-457c-47d7-a83a-b5ba2b84b064
12/05/2018
Copy, Copy method [Windows Portable Devices SDK], Copy method [Windows Portable Devices SDK],IPortableDeviceContent interface, IPortableDeviceContent interface [Windows Portable Devices SDK],Copy method, IPortableDeviceContent.Copy, IPortableDeviceContent::Copy, IPortableDeviceContentCopy, portabledeviceapi/IPortableDeviceContent::Copy, wpdsdk.iportabledevicecontent_copy
portabledeviceapi.h
Windows
PortableDeviceGUIDs.lib
Windows
19H1
IPortableDeviceContent::Copy
portabledeviceapi/IPortableDeviceContent::Copy
c++
APIRef
kbSyntax
COM
PortableDeviceGUIDs.lib
PortableDeviceGUIDs.dll
IPortableDeviceContent.Copy

IPortableDeviceContent::Copy

-description

The Copy method copies objects from one location on a device to another.

-parameters

-param pObjectIDs

A collection of object identifiers for the objects that this method will copy.

-param pszDestinationFolderObjectID

An object identifier for the destination folder (or functional storage) into which this method will copy the specified objects.

-param ppResults [out]

A collection of VT_ERROR values indicating the success or failure of copying a particular element. The first error value corresponds to the first object in the collection of object identifiers, the second to the second element, and so on. This argument can be NULL.

-returns

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.
S_FALSE
The copy operation failed for at least one object.
E_ACCESSDENIED
The application does not have the rights to copy one of the specified objects.

-remarks

If the specified device supports copy operations to a functional storage, the pszDestinationFolderObjectID parameter may specify the identifier for a functional storage.

-see-also

IPortableDeviceContent Interface