You can bring up the taskbar's properties, enable 'hide inactive icons',
select 'customize' on that option, then find the irritating "there are files
waiting to be written to the CD" message and set its properties to 'always
hide.'
Still would prefer a programmatic solution, still looking :).
WTH