ILTDVDBurner::get_CurrentSpeed Example for C++

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