IltmmPlay::get_DVDControl Example for C++

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; 
} 
Help Version 20.0.2019.8.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help