IltmfConvert::put_PercentCompleteScalar

Summary

Sets the scalar value to be multiplied by the current conversion completion percentage.

Syntax

#include "ltmf.h"

Language Syntax
C HRESULT IltmfConvert_put_PercentCompleteScalar (pConvert, newVal)
C++ HRESULT put_PercentCompleteScalar(newVal)

Parameters

IltmfConvert *pConvert

Pointer to an IltmfConvert interface.

long newVal

The new scalar value to set.

Returns

Value Meaning
S_OK The function ran successfully.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the MediaFoundation documentation.

Comments

Call IltmfConvert::get_PercentCompleteScalar to retrieve the current scalar value.

Using a value other than one will have the effect of changing the range of progress notification; for example, setting this property to 5 will change the progress range from "0 to 100" to "0 to 500".

To retrieve the current conversion completion percentage value, call IltmfConvert::get_PercentComplete.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For a C++ example, refer to IltmfConvert::get_PercentCompleteScalar Example for C++.

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

LEADTOOLS Media Foundation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.