DLL Interface

OnProgress

Callback function that you can define in order to receive progress updates during an encode or decode operation.

Syntax

bool CALLBACK ProgressCallback(double dPercentDone, LPVOID lpUserData);

Parameters

dPercentDone

The percentage of the current operation that is complete.

lpUserData

Pointer to whatever you want. (Your own user data.)

Returns

Return true from this function to allow the operation to continue.

Return false from this function to cause the operation to abort.

Remarks

You must register your callback function with the engine using pProgressCallback in the DELTAMAX_ENCODE_OPTIONS or DELTAMAX_DECODE_OPTIONS structure that you pass to the DeltaMAXEncode or DeltaMAXDecode function call.

See Also: DELTAMAX_ENCODE_OPTIONS, DELTAMAX_DECODE_OPTIONS