Share via


IPortableDeviceDataStream Interface

banner art

Previous Next

IPortableDeviceDataStream Interface

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.

In addition to the methods that are inherited from IStream, the IPortableDeviceDataStream interface exposes the following methods.

Method Description
Cancel Cancels a call in progress on this interface.
GetObjectID Retrieves the object ID of the resource that was written to the device.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

Previous Next