Retrieves the progress of the current operation.
#include "ILTDVDBurner2.h"
Platform | 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 an LTDVDBurner_State value describing the burner's state.
Pointer to a variable to be updated with an LTDVDBurner_Progress value describing the progress of the current operation.
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 and the value 10000 means 100% completed.
Pointer to a character string to be updated with a description of either the current step being performed, or the current encountered error.
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes |
If the function succeeds, the user is responsible for freeing the string retrieved in pDescription by calling SysFreeString.
Win32, x64
For a C example, refer to ILTDVDBurner::GetProgress Example for C.
For a C++ example, refer to ILTDVDBurner::GetProgress Example for C++.