Copyright © 2008-2018 MultiMedia Soft

CallbackPercentageSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the function of the CallbackPercentage callback delegate which notifies about percentage of advancement for lengthy operations running inside a secondary thread.

 

For further details about callback delegates see the How to synchronize the container application through callback delegates tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function CallbackPercentageSet (

function as CallbackPercentage

) as enumErrorCodes


 

[C#]

public enumErrorCodes CallbackPercentageSet (

CallbackPercentage function

);


 

[C++]

public: enumErrorCodes CallbackPercentageSet (

CallbackPercentage function

);


 

 

Parameter

Description

 

 

function

Callback function

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.