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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for