IltmmConvert::get_DVDControl Example for C

HRESULT IltmmConvert_get_DVDControl_Example (IltmmConvert* pConvert)
{
   HRESULT  hr;

   IltmmDVDControl* pDVD; 

   hr = IltmmConvert_get_DVDControl (pConvert, &pDVD); 

   if (FAILED(hr)) 
      return hr; 

   IltmmDVDControl_Release(pDVD); 

   pDVD = NULL;

   return S_OK;
}