Hi all,

Using MacUSBNotificationMBS, I get an event as soon as an USB device is 
plugged in.
Unfortunately, there is a noticeable delay before availability of this 
device, in particular when it's a storage device.
So, I have to wait in order to get its BSD address with the QueryBSDName 
function.

Currently, I run a loop quering the BSD address until it's no longer empty:

     BSDName=QueryBSDName(DeviceHandle)
     While BSDName=""
       BSDName=QueryBSDName(DeviceHandle)
     Wend

This need up to 45 000 loops before the BSD address is returned!

I'm wondering if there is another way to do that, maybe an event fired 
when the device is mounted, instead of plugged in?

Thanks a lot

-- 
Jean-Luc Arnaud

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to