WinCvtProgressCallback

The WinCvtProgressCallback function is called to notify an application on the progress of a call to WinCvtConvertToNative or WinCvtConvertToRtf.

WINCVT_STATUS
(WINAPI * _WinCvtProgressCallback)(
  LONG BytesConverted,  // The number of bytes converted for this call.
  LONG PercentComplete  // The cumulative percentage complete.
);

Parameters

BytesConverted
The number of bytes converted in this operation. This number refers to the number of bytes converted sincne the last progress notification.
PercentComplete
An approximate percentage complete of the entire conversion operation.

Return Values

If the function succeeds, the return value is WINCVT_SUCCESS. If the function fails, the return value is the error code describing the failure. This code can be turned into a human readable string using the WinCvtGetErrorString.

Remarks

The WinCvtProgressCallback function is called to notify an application on the progress of a call to WinCvtConvertToNative or WinCvtConvertToRtf.

QuickInfo

WinCvt: Requires 0.1.0.
Header: Declared in WinCvt.h.
Import Library: Use WinCvt.lib.

See Also

WinCvtGetErrorString, WinCvtConvertToNative, WinCvtConvertToRtf.