Function SetRatioInfo

Synopsis

#include <include/updatecallback.hpp>

STDMETHOD() SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize)

Description

ICompressProgressInfo.

Source

Lines 66-71 in src/updatecallback.cpp. Line 54 in include/updatecallback.hpp.

STDMETHODIMP UpdateCallback::SetRatioInfo( const UInt64* inSize, const UInt64* outSize ) {
    if ( mHandler.ratioCallback() && inSize != nullptr && outSize != nullptr ) {
        mHandler.ratioCallback()( *inSize, *outSize );
    }
    return S_OK;
}





Add Discussion as Guest

Log in