void GetPlaySourceAudioType(IltmfPlay *pPlay)
{
TCHAR szAudioType[MAX_PATH];
BSTR bstr = NULL;
// get the source audio type name
pPlay->get_SourceAudioType(&bstr);
// format display string
_stprintf(szAudioType, _T("Source audio type GUID is %ls"), bstr);
// display the source audio type
MessageBox(NULL, szAudioType, TEXT("Source Audio Type"), MB_OK);
// free the bstr
SysFreeString(bstr);
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET