DDiscFormat2EraseEvents::Update method (imapi2.h)
Implement this method to receive progress notification of the current erase operation.
HRESULT Update( [in] IDispatch *object, [in] LONG elapsedSeconds, [in] LONG estimatedTotalSeconds );
The IDiscFormat2Erase interface that initiated the erase operation.
This parameter is a MsftDiscFormat2Erase object in script.
Elapsed time, in seconds, of the erase operation.
Estimated time, in seconds, to complete the erase operation.
Return values are ignored.
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.
|Minimum supported client||Windows Vista, Windows XP with SP2 [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|