IltmmConvert::get_SourceVideoFOURCC Example for C

void IltmmConvert_get_SourceVideoFOURCC_Example (IltmmConvert* pConvert) 
{ 
   char szVideoFOURCC[256]; 
   char szFOURCC[5];  
   long lVideoFOURCC;  
 
   IltmmConvert_get_SourceVideoFOURCC(pConvert, &lVideoFOURCC);  
 
   szFOURCC[0] = (char) (lVideoFOURCC & 0xff);  
   szFOURCC[1] = (char) (lVideoFOURCC & 0xff00) >> 8;  
   szFOURCC[2] = (char) (lVideoFOURCC & 0xff0000) >> 16;  
   szFOURCC[3] = (char) (lVideoFOURCC & 0xff000000) >> 24;  
   szFOURCC[4] = '\0';  
 
   strcpy(szVideoFOURCC, "Video FOURCC is "); 
 
   strcat(szVideoFOURCC, szFOURCC);  
 
   MessageBox(NULL, szVideoFOURCC, NULL, MB_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