void OnAutoEject(ILTDVDBurner* pBurner) { VARIANT_BOOL autoeject; pBurner->get_AutoEject(&autoeject); if (autoeject != VARIANT_TRUE) pBurner->put_AutoEject(VARIANT_TRUE); }