IltmmConvert::get_SourceVideoFOURCC Example for C

char     szVideoFOURCC[256];
char     szFOURCC[5]; 
long     lVideoFOURCC; 

IltmmConvert__get_SourceVideoFOURCC(g_convert, &lVideoFOURCC); 
szFOURCC[0] = (lVideoFOURCC & 0xff); 
szFOURCC[1] = (lVideoFOURCC & 0xff00) >> 8; 
szFOURCC[2] = (lVideoFOURCC & 0xff0000) >> 16; 
szFOURCC[3] = (lVideoFOURCC & 0xff000000) >> 24; 
szFOURCC[4] = '\0'; 
strcpy(szVideoFOURCC, "Video FOURCC is ");
strcat(szVideoFOURCC, szFOURCC); 
MessageBox(hwnd, szVideoFOURCC, NULL, MB_OK);

L_MULTIMEDIATEX_API 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);
}