IPortableDeviceContent::Transfer method (portabledeviceapi.h)
The Transfer method retrieves an interface that is used to read from or write to the content data of an existing object resource.
Syntax
HRESULT Transfer(
[out] IPortableDeviceResources **ppResources
);
Parameters
[out] ppResources
Address of a variable that receives a pointer to an IPortableDeviceResources interface that is used to modify an object's resources. The caller 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 |
---|---|
|
The method succeeded. |
|
At least one of the required arguments was a NULL pointer. |
Remarks
This method is typically used to read from an existing object.
Examples
For an example of how to use this method, see Adding a Resource to an Object.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | portabledeviceapi.h |
Library | PortableDeviceGUIDs.lib |