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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Multimedia C API Help