Sets the scalar value to be multiplied by the current conversion completion percentage.
#include "ltmf.h"
Language | Syntax |
---|---|
C | HRESULT IltmfConvert_put_PercentCompleteScalar (pConvert, newVal) |
C++ | HRESULT put_PercentCompleteScalar(newVal) |
Pointer to an IltmfConvert interface.
The new scalar value to set.
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. |
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.
Win32, x64.
For a C++ example, refer to IltmfConvert::get_PercentCompleteScalar Example for C++.
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