ILTDVDBurner::get_CurrentSpeed Example for C++

void CDVDBurnerDlg::OnCurrentSpeed(ILTDVDBurner* pBurner)
{
   long lIndex;
   pBurner->get_CurrentSpeed (&lIndex);
   if (lIndex != 0)
      pBurner->put_CurrentSpeed (0);
}