ILTDVDBurner::GetProgress Example for C++

void CDVDBurnerDlg::OnGetProgress(ILTDVDBurner* pBurner)
{
   long lState;
   long lProgress;
   long lComplete;
   BSTR bstrDescription;

   pBurner->GetProgress (&lState, &lProgress, &lComplete, &bstrDescription);
   SysFreeString(bstrDescription);
}