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 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.