NeroIsDeviceReady bug

vbimport

#1

Hi,

When I call NeroIsDeviceReady it ‘leaks’ a handle to \device\CdRomX which prevents me from locking and unmounting the volume associated with that
device.

Actually, it is not really leaking the handle but keeps it open for a period of time (probably to avoid having to open and close it repeatedly when NeroIsDeviceReady called in a loop). I can see the handle being closed after some number of seconds.

My question is, can I find out when the handle is closed so I can properly
lock and dismount (without having to loop and wait ?).

Thanks all,
Jos Scherders