Function SetRatioInfo

Synopsis

#include <include/extractcallback.hpp>

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

Description

ICompressProgressInfo.

Source

Lines 49-54 in src/extractcallback.cpp. Line 45 in include/extractcallback.hpp.

STDMETHODIMP ExtractCallback::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