void IltmmConvert_get_SourceAudioFormat_Example (IltmmConvert* pConvert) { char szSourceAudioFormat[256]; long lSourceAudioFormat; IltmmConvert_get_SourceAudioFormat(pConvert, &lSourceAudioFormat); if (lSourceAudioFormat == 0) strcpy(szSourceAudioFormat, "source audio format is not a standard format"); else sprintf(szSourceAudioFormat, "Source audio format is %d", lSourceAudioFormat); MessageBox(NULL, szSourceAudioFormat, NULL, MB_OK); }