DLL Interface

OnMessage

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

Syntax

bool CALLBACK MessageCallback(int nMessageCode, LPVOID lpUserData);

Parameters

nMessageCode

A DeltaMAX message code indicating the current stage of the operation.

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 pMessageCallback 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, OnProgress