This information is not hard to retrieve for MacOS. You call PBHGetVolParmsSync. You test the extended attributes field of the GetVolParmsInfoBuffer struct passed. The volume is ejectable when bit 0 is set. The Volumes section of chapter 4 of my declares book has an example that calls PBHGetVolParmsSync.

Charles Yeomans

On May 23, 2006, at 1:37 PM, Craig Hoyt wrote:

Thanks Emile and Kurt,

I actually did do a search in the archives. Here's what I found. There was a stellar example provided by Dave but his solution required a plug-in to pass RB volume #'s (untested!). I need to keep this plug-in free. Charles also made a cryptic comment stating that one should use: Volume(Index).ShellPath as a method. I found nothing in the RB Docs to support this. Please point me in the direction if I have missed something. It seems that RB's Volume class is missing quite a few properties that would make it completely usable.

Craig

Another possible way is to make a search of the one already sent to this
list using the List Archive(link at the bottom).

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to