If you are trying to detect when a USB storage device is plugged in then I would just use MacUSBDeviceMBS and WinUSBDeviceMBS to notify you that "something" has been plugged in (or unplugged) then scan for "new" storage devices independent of MacUSBDeviceMBS/WinUSBDeviceMBS using the "Volume" and "VolumeCount" methods.
Keep an array of all storage locations on launch and when something is plugged in compare that list to the new list and see what may have been added or removed. On Thu, Jun 2, 2016 at 7:11 AM, Jean-Luc Arnaud <[email protected]> wrote: > Hi all, > > Passing Path parameter (BSD name or Mount Point on Mac, letter on > Windows) or Xojo volume number or path, what MBS function may return > infos, in particular IsWritable, Vid, Pid and SN? > > I'm currently using MacUSBDeviceMBS and WinUSBDeviceMBS, but these > functions need to check all USB devices (unless I missed something...) > and do not return info on path nor writability. > > TIA for any help > > -- > Jean-Luc Arnaud > > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info > _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
