ILTDVDBurner::get_CurrentDrive Example for C++

void OnCurrentDrive(ILTDVDBurner* pBurner)
{
   long lCurrentDrive;
   pBurner->get_CurrentDrive(&lCurrentDrive);
   if (lCurrentDrive != 0)
      pBurner->put_CurrentDrive(0);
}