Share via


IPortableDevicePropertiesBulkCallback Interface

banner art

Previous Next

IPortableDevicePropertiesBulkCallback Interface

The IPortableDevicePropertiesBulkCallback interface is implemented by the application to track the progress of an asynchronous operation that was begun by using the IPortableDevicePropertiesBulk interface.

After the application calls IPortableDevicePropertiesBulk::Start, Windows Portable Devices calls IPortableDevicePropertiesBulkCallback::OnStart first, and then repeatedly calls IPortableDevicePropertiesBulkCallback::OnProgress with information until the operation is completed or the application calls IPortableDevicePropertiesBulk::Cancel or returns an error value for OnProgress. Finally, regardless of whether the operation completed successfully, Windows Portable Devices calls IPortableDevicePropertiesBulkCallback::OnEnd.

In addition to the methods inherited from IUnknown, the IPortableDevicePropertiesBulkCallback interface exposes the following methods.

Method Description
OnEnd Called by the SDK when a bulk operation started by IPortableDevicePropertiesBulk::Start is completed.
OnProgress Called by the SDK when a bulk operation started by IPortableDevicePropertiesBulk::Start has sent data to the device and received some information back.
OnStart Called by the SDK when a bulk operation started by IPortableDevicePropertiesBulk::Start is about to begin.

Requirements

Header: Defined in PortableDeviceApi.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next