IltmmConvert::get_SourceAudioType Example for C

char szAudioType[256];
BSTR bstr;

IltmmConvert__get_SourceAudioType(g_convert, &bstr);

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

SysFreeString(bstr);