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.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help