Changeset 51578 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 9, 2014 9:45:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/darwin/iokit.cpp
r51163 r51578 1276 1276 1277 1277 /** 1278 * Enumerate the DVDdrives returning a FIFO of device name strings.1278 * Enumerate the CD, DVD and BlueRay drives returning a FIFO of device name strings. 1279 1279 * 1280 1280 * @returns Pointer to the head. … … 1286 1286 1287 1287 /* 1288 * Create a matching dictionary for searching for DVDservices in the IOKit.1288 * Create a matching dictionary for searching for CD, DVD and BlueRay services in the IOKit. 1289 1289 * 1290 * [If I understand this correctly, plain CDROMs doesn't show up as 1291 * IODVDServices. Too keep things simple, we will only support DVDs 1292 * until somebody complains about it and we get hardware to test it on. 1293 * (Unless I'm much mistaken, there aren't any (orignal) intel macs with 1294 * plain cdroms.)] 1290 * The idea is to find all the devices which are of class IOCDBlockStorageDevice. 1291 * CD devices are represented by IOCDBlockStorageDevice class itself, while DVD and BlueRay ones 1292 * have it as a parent class. 1295 1293 */ 1296 CFMutableDictionaryRef RefMatchingDict = IOServiceMatching("IO DVDServices");1294 CFMutableDictionaryRef RefMatchingDict = IOServiceMatching("IOCDBlockStorageDevice"); 1297 1295 AssertReturn(RefMatchingDict, NULL); 1298 1296 … … 1306 1304 1307 1305 /* 1308 * Enumerate the DVDservices.1306 * Enumerate the matching services. 1309 1307 * (This enumeration must be identical to the one performed in DrvHostBase.cpp.) 1310 1308 */
Note:
See TracChangeset
for help on using the changeset viewer.