IltmmPlay::get_SourceVideoType Example for C

BSTR     bstrSourceVideoType; 
char     szSourceVideoType[256]; 

IltmmPlay__get_SourceVideoType(g_player, &bstrSourceVideoType); 
strcpy(szSourceVideoType, "Source Video Type GUID is ");
strcat(szSourceVideoType, OLE2T(bstrSourceVideoType)); 
MessageBox(hwnd, szSourceVideoType, NULL, MB_OK); 
SysFreeString(bstrSourceVideoType);