| To: | "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Finding Ejectable Volumes. |
| From: | "Dennis Birch" <dennisbirch at gmail dot com> |
| Date: | Mon, 29 May 2006 12:52:14 -0700 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HUv1XWLvaDCMrVoSNasOSK3V8KDl33myuBq+cdzlHd7R8KauFvLk/zYCEH8IhX0BBFjUhi0uirFSh8Uwm3cqOMdnitsOylXTdXa7sa9kaRyiwQxD1QzshskYRuaKTS0d0N6NF54B74ohj6+xQCx9hauJEuwiZ4wSHpNyVgVpZo4= |
| References: | <20060523161033 dot 17E1D1296E9A at lists dot realsoftware dot com> <27EF305E-4049-497F-B82D-1B9753DD4D81 at aztech4mac dot com> <0E37A913-84EF-4342-8887-14E32DF7B912 at declareSub dot com> |
I implemented the suggested declares solution in a module and it works great for CD-ROMs and USB devices I've mounted. However my external FireWire drive (which can be safely unmounted in the Finder) does not show as being ejectable. Anybody happen to know why that might be the case? On 5/23/06, Charles Yeomans <charles at declaresub dot com> wrote: 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. _______________________________________________ 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> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: sqlite - REALSQLdatabase security., Stefan Pantke |
|---|---|
| Next by Date: | Aliased CurveShapes, Juan Salvatierra |
| Previous by Thread: | Re: Finding Ejectable Volumes., Charles Yeomans |
| Next by Thread: | Re: Finding Ejectable Volumes., Dennis Birch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |