IltmfConvert::get_SourceVideoType Example for C++

void GetConvertSourceVideoType(IltmfConvert *pConvert) 
{ 
   TCHAR   szVideoType[MAX_PATH];  
   BSTR bstr = NULL; 
   // get the source video type name 
   pConvert->get_SourceVideoType(&bstr); 
   // format display string 
   _stprintf(szVideoType, _T("Source video type GUID is %ls"), bstr); 
    
   // display the source video type 
   MessageBox(NULL, szVideoType, TEXT("Source Video Type"), MB_OK); 
   // free the bstr 
   SysFreeString(bstr); 
} 
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.