Re: Find network mounted DVD's

2011-04-21 Thread Lee Ann Rucker
kIOPropertyPhysicalInterconnectLocationKey isn't an IOService, it's an IOProperty. You need to find the IORegistry entry that has those properties with those values. (Sorry, I can't help with that part; I barely understand it myself.) Look in IORegistryExplorer, open the drawer that lets you m

Re: Find network mounted DVD's

2011-04-19 Thread Lee Ann Rucker
You can spot an Apple Remote Disc by looking for kIOPropertyPhysicalInterconnectLocationKey = "Network" kIOPropertyProductNameKey = "Disc Image" On Apr 19, 2011, at 8:08 AM, Michael Dautermann wrote: > > On Apr 19, 2011, at 10:52 AM, P Teeson wrote: > >> Thanks for your suggestion. >> I did

Re: Find network mounted DVD's

2011-04-19 Thread P Teeson
Thank you for your thoughts. On 2011-04-19, at 11:08 AM, Michael Dautermann wrote: > On Apr 19, 2011, at 10:52 AM, P Teeson wrote: > >> Thanks for your suggestion. >> I did look at all the sample projects and know about that approach. >> But it does seem somewhat inelegant. >> Am I missing somet

Re: Find network mounted DVD's

2011-04-19 Thread Michael Dautermann
On Apr 19, 2011, at 10:52 AM, P Teeson wrote: > Thanks for your suggestion. > I did look at all the sample projects and know about that approach. > But it does seem somewhat inelegant. > Am I missing something available using IOKit? The code you had in your original post looked just as straight

Re: Find network mounted DVD's

2011-04-19 Thread P Teeson
Thanks for your suggestion. I did look at all the sample projects and know about that approach. But it does seem somewhat inelegant. Am I missing something available using IOKit? On 2011-04-19, at 9:36 AM, Michael Dautermann wrote: > On Apr 18, 2011, at 10:35 PM, P Teeson wrote: > >> In an app I

Re: Find network mounted DVD's

2011-04-19 Thread Michael Dautermann
On Apr 18, 2011, at 10:35 PM, P Teeson wrote: > In an app I am working on I have the below code to detect physical DVDs > attached to the computer. > But I have not had success in figuring out how to find LAN mounted DVD's > Can someone please point me to the correct documentation or suggest a

Find network mounted DVD's

2011-04-18 Thread P Teeson
In an app I am working on I have the below code to detect physical DVDs attached to the computer. io_iterator_t dvdDeviceList; CFMutableDictionaryRef classesToMatch; kern_return_t result = KERN_FAILURE; // Get an iterator for all DVD devices classesToMatch = IOServiceMatching(kIODVD