Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.27
LEADTOOLS Media Foundation Help

IltmfConvert::put_PercentCompleteScalar

Show in webframe

#include "ltmf.h"

C Syntax

HRESULT IltmfConvert_put_PercentCompleteScalar (newVal)

C++ Syntax

HRESULT put_PercentCompleteScalar(newVal)

 

long newVal;

/* percent complete scalar*/

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

Parameter

Description

newVal

The new scalar value to set.

Returns

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

LTMF

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmfConvert interface, IltmfConvert::get_PercentCompleteScalar, IltmfConvert::get_PercentComplete

Topics:

Media Foundation Function Group

Example

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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.