IltmmConvert::get_PercentCompleteScalar Example for C

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; 
} 
Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help