IPortableDeviceDataStream interface (portabledeviceapi.h)

The IPortableDeviceDataStream interface exposes additional methods on an IStream that is used for data transfers. It is obtained by calling QueryInterface on the IStream that is retrieved by IPortableDeviceResources::GetStream or IPortableDeviceContent::CreateObjectWithPropertiesAndData.

Inheritance

The IPortableDeviceDataStream interface inherits from IStream. IPortableDeviceDataStream also has these types of members:

Methods

The IPortableDeviceDataStream interface has these methods.

 
IPortableDeviceDataStream::Cancel

The Cancel method cancels a call in progress on this interface.
IPortableDeviceDataStream::GetObjectID

The GetObjectID method retrieves the object ID of the resource that was written to the device. This method is only valid after calling IStream::Commit on the data stream.

Requirements

Requirement Value
Target Platform Windows
Header portabledeviceapi.h