Share via


IPortableDeviceContent::Transfer

banner art

Previous Next

IPortableDeviceContent::Transfer

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(
  IPortableDeviceResources**  ppResources
);

Parameters

ppResources

[out]  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 Values

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.
E_POINTER At least one of the required arguments was a NULL pointer.

Remarks

This method is typically used to read from an existing object.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next