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(kIODVDMediaClass); CFDictionaryAddValue (classesToMatch, CFSTR(kIOMediaEjectableKey), kCFBooleanTrue); result = IOServiceGetMatchingServices(kIOMasterPortDefault,classesToMatch, &dvdDeviceList); assert(result == KERN_SUCCESS);
// Is there more than one device io_object_t dvdDevice; int i = 0; while (dvdDevice = IOIteratorNext(dvdDeviceList)) { i++; } // if (i>1) {do something} ...... 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 direction for me to go in? TIA Peter _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com