ILTDVDBurner::get_CurrentDrive Example for C

void OnCurrentDrive(ILTDVDBurner* pBurner)
{
   long lCurrentDrive;
   ILTDVDBurner_get_CurrentDrive (pBurner, & lCurrentDrive);
   if (lCurrentDrive != 0)
      ILTDVDBurner_put_CurrentDrive (pBurner, 0); 
}