Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Implement this method to receive progress notification of the current erase operation.
Syntax
HRESULT Update(
[in] IDispatch *object,
[in] LONG elapsedSeconds,
[in] LONG estimatedTotalSeconds
);
Parameters
[in] object
The IDiscFormat2Erase interface that initiated the erase operation.
This parameter is a MsftDiscFormat2Erase object in script.
[in] elapsedSeconds
Elapsed time, in seconds, of the erase operation.
[in] estimatedTotalSeconds
Estimated time, in seconds, to complete the erase operation.
Return value
Return values are ignored.
Remarks
Notifications are sent in response to calling the IDiscFormat2Erase::EraseMedia method.
Notification is sent every 0.5 or 1.0 seconds depending on the method required to blank the media.
Total time estimates for a single erasure can vary as the operation progresses. The drive provides updated information that can affect the projected duration of the erasure.
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 |