DDiscFormat2DataEvents::Update method (imapi2.h)
Implement this method to receive progress notification of the current write operation.
Syntax
HRESULT Update(
[in] IDispatch *object,
[in] IDispatch *progress
);
Parameters
[in] object
The IDiscFormat2Data interface that initiated the write operation.
This parameter is a MsftDiscFormat2Data object in script.
[in] progress
An IDiscFormat2DataEventArgs interface that you use to determine the progress of the write operation.
This parameter is a MsftDiscFormat2Data object in script.
Return value
Return values are ignored.
Remarks
Notifications are sent in response to calling the IDiscFormat2Data::Write method.
Notification is sent when the current action changes:
- Once when initializing the hardware
- Once when calibrating the power
- Once when formatting the media, if required by the media type
- Every 0.5 seconds during the write operation
- Once after the operation completes
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows XP with SP2 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | imapi2.h |