IltmmConvert::get_DVDControl Example for C

   HRESULT  hr;
   IltmmDVDControl* pDVD; 
   hr = IltmmConvert_get_DVDControl (g_convert, &pDVD); 
   if (FAILED(hr)) 
      return hr; 
   IltmmDVDControl_Release(pDVD); 
   pDVD = NULL;

L_MULTIMEDIATEX_API 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;
}