Re: Identifying disks/volumes by a unique ID?

2009-03-25 Thread Oleg Krupnov
Thanks Ken, It looks much like what I need, however, for a FAT32 Flash USB drive the both UUIDs are NULL. Also, I've found that for network drives and FTP drives, the DADiskCopyDescription function returns NULL. Is there any workaround for these issues? On Wed, Mar 25, 2009 at 9:03 AM, Ken Th

Re: Identifying disks/volumes by a unique ID?

2009-03-25 Thread Ken Thomases
On Mar 24, 2009, at 6:05 AM, Oleg Krupnov wrote: My app needs to disable some functions when a disk (volume) is unmounted, and then enable the functions back again if the *same* volume is mounted back again. Is there a kind of unique IDs on disks and volumes I could use for identifying them?

Identifying disks/volumes by a unique ID?

2009-03-24 Thread Oleg Krupnov
My app needs to disable some functions when a disk (volume) is unmounted, and then enable the functions back again if the *same* volume is mounted back again. Is there a kind of unique IDs on disks and volumes I could use for identifying them? Thanks. _