HRESULT IltmmConvert_get_PercentCompleteScalar_Example (IltmmConvert* pConvert) { HRESULT hr; long lPercent; hr = IltmmConvert_get_PercentCompleteScalar (pConvert, &lPercent); if (FAILED(hr)) return hr; lPercent *= 10; hr = IltmmConvert_put_PercentCompleteScalar (pConvert, lPercent); if (FAILED(hr)) return hr; return S_OK; }