IltmmProcessor::get_Type Example for C++

// Having an IltmmProcessor interface, pProc: 
 
void GetProcessorType(IltmmProcessor *pProc) 
{ 
   long lType; 
 
   // try to get the type 
   HRESULT hr = pProc ->get_Type(&lType); 
 
   // if not video  
   if (SUCCEEDED(hr) && lType != ltmmProcessorType_LEAD_Video) 
   { 
      // do something 
   } 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.