ILTDVDBurner::GetProgress

#include "ILTDVDBurner2.h"

C Syntax HRESULT ILTDVDBurner_getProgress(pDVDBurner, pState, pProgress, pComplete, pDescription)

C++ Syntax HRESULT GetProgress(pState, pProgress, pComplete, pDescription)

Retrieves the progress of the current operation.

Parameters

ILTDVDBurner *pDVDBurner

Pointer to an ILTDVDBurner interface.

long *pState

Pointer to a variable to be updated with an LTDVDBurner_State value describing the burner's state.

long *pProgress

Pointer to a variable to be updated with an LTDVDBurner_Progress value describing the progress of the current operation.

long *pComplete

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.

BSTR *pDescription

Pointer to a character string to be updated with a description of either the current step being performed, or the current encountered error.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes

Comments

If the function succeeds, the user is responsible for freeing the string retrieved in pDescription by calling SysFreeString.

Required DLLs and Libraries

Platforms

Win32, x64

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Writer C API Help