ILTDVDBurner::get_AutoEject Example for C

void OnAutoEject(ILTDVDBurner* pBurner)

L_MULTIMEDIATEX_API void ILTDVDBurner_get_AutoEject_Example(ILTDVDBurner* pBurner)
{
   VARIANT_BOOL autoeject;
   ILTDVDBurner_get_AutoEject (pBurner, &autoeject);

   if (autoeject != VARIANT_TRUE)
      ILTDVDBurner_put_AutoEject (pBurner, VARIANT_TRUE);
}