IltmfProcessor::get_Type Example for C++

Having an IltmfProcessor interface, pProc:

void GetProcessorType(IltmfProcessor *pProc) 
{ 
   long lType; 
   // try to get the type 
   HRESULT hr = pProc ->get_Type(&lType); 
   // if not video  
   if (SUCCEEDED(hr) && lType != ltmfProcessorType_LEAD_Video) 
   { 
      // do something 
   } 
} 

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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