IltmmConvert::get_SourceVideoType Example for C

char szVideoType[256];
BSTR bstr;

IltmmConvert__get_SourceVideoType(g_convert, &bstr);

strcpy(szVideoType, "Source video type GUID is ");
strcat(szVideoType, OLE2T(bstr));
MessageBox(hwnd, szVideoType, NULL, MB_OK);

SysFreeString(bstr);