Retrieves the progress of current operation.
#include "ILTDVDBurner2.h"
Language | Syntax |
---|---|
C | HRESULT ILTDVDBurner_getProgress(pDVDBurner, pState, pProgress, pComplete, pDescription) |
C++ | HRESULT GetProgress(pState, pProgress, pComplete, pDescription) |
Pointer to an ILTDVDBurner interface.
Pointer to a variable to be updated with the current state of the burner. Possible values are:
Value | Meaning |
---|---|
LTDVDBurner_State_Idle | [0] The burner is in the idle state. Operations and checks that require the burner to be in the idle state can be performed now. |
LTDVDBurner_State_Writing | [1] The burner is performing a writing operation. Certain operations and checks cannot be performed while the burner is in this state. |
LTDVDBurner_State_TestWriting | [2] The burner is performing a writing test. Certain operations and checks cannot be performed while the burner is in this state. |
LTDVDBurner_State_Erasing | [3] The burner is performing an erasing operation. Certain operations and checks cannot be performed while the burner is in this state. |
Pointer to a variable to be updated with current operation progress. Possible values are:
Value | Meaning |
---|---|
LTDVDBurner_Progress_Idle | [0] No operation is being performed. |
LTDVDBurner_Progress_Initializing | [1] Performing steps required before starting the actual operation. |
LTDVDBurner_Progress_Writing | [2] Writing an image to disc. |
LTDVDBurner_Progress_Finalizing | [3] Finalizing the current operation. |
LTDVDBurner_Progress_Erasing | [4] Erasing data from the disc. |
LTDVDBurner_Progress_Completed | [5] Operation completed. |
LTDVDBurner_Progress_Aborted | [6] Operation aborted due to errors. |
Pointer to a variable to be updated with the current operation completion status. Possible values range from 0 to 10000, where the value 0 means 0% completed while the value 10000 means 100% completed.
Pointer to a character string to be updated with a description of the current step being performed, or the current encountered errors.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
If the function succeeds, the user is responsible for freeing the string retrieved in pDescription
by calling SysFreeString.
Win32, x64.
Language | Example |
---|---|
C | ILTDVDBurner::GetProgress |
C++ | ILTDVDBurner::GetProgress |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document