HRESULT GetPlayDVDControl(IltmmPlay *pPlay)
{
HRESULT hr;
IltmmDVDControl* pDVD;
// try to get the DVD Control
hr = pPlay->get_DVDControl(&pDVD);
if (FAILED(hr))
return hr;
// do something with the DVD Control
long lTitle;
hr = pDVD->get_CurrentTitle(&lTitle);
// release the DVD object
pDVD->Release();
return hr;
}
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