IltmmConvert::get_DVDControl Example for C++

HRESULT GetConvertDVDControl(IltmmConvert *pConvert) 
{ 
   HRESULT  hr; 
   IltmmDVDControl* pDVD; 
   // try to get the DVD Control 
   hr = pConvert->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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Multimedia C API Help