IPortableDevicePropertiesBulkCallback interface (portabledeviceapi.h)

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.

Inheritance

The IPortableDevicePropertiesBulkCallback interface inherits from the IUnknown interface. IPortableDevicePropertiesBulkCallback also has these types of members:

Methods

The IPortableDevicePropertiesBulkCallback interface has these methods.

 
IPortableDevicePropertiesBulkCallback::OnEnd

The OnEnd method is called by the SDK when a bulk operation that is started by IPortableDevicePropertiesBulk::Start is completed.
IPortableDevicePropertiesBulkCallback::OnProgress

The OnProgress method is called by the SDK when a bulk operation started by IPortableDevicePropertiesBulk::Start has sent data to the device and received some information back.
IPortableDevicePropertiesBulkCallback::OnStart

The OnStart method is called by the SDK when a bulk operation started by IPortableDevicePropertiesBulk::Start is about to begin.

Requirements

Requirement Value
Target Platform Windows
Header portabledeviceapi.h

See also

Client Interfaces