Partager via


IWMDMProgress3 Interface

banner art

The IWMDMProgress3 interface extends the methods of IWMDMProgress and IWMDMProgress2 by providing additional input parameters for the ID of the event and the context of the commands. This event ID indicates which particular event progress is being reported. The other parameter is an optional opaque structure that the component generating the event sends to the application. This can be used by the component to pass any data associated with the event to the application.

Applications that implement this callback interface should provide an implementation for methods corresponding to IWMDMProgress and IWMDMProgress2 for backward compatibility, in addition to the new methods.

In addition to the methods inherited from IWMDMProgress and IWMDMProgress2, the IWMDMProgress3 interface exposes the following methods.

Method Description
Begin3 Indicates that progress tracking for an operation is about to begin. An estimate of the duration of the operation is provided when possible. This method extends IWMDMProgress::Begin by providing additional input parameters for the identification (ID) of the event and for a pointer to the context of the commands.
End3 Indicates that an operation is finished. This method extends IWMDMProgress2::End2 by providing additional input parameters for the identification (ID) of the event and for a pointer to the context of the commands.
Progress3 Indicates that an operation is still in progress. This method extends IWMDMProgress::Progress by providing additional input parameters for the identification (ID) of the event and for a pointer to the context of the commands.

See Also