Re: IOServiceMatching produces oddly inert dictionary for startup item
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi Pete, Responding to darwin-dev alone to avoid cross-posting... On Dec 7, 2004, at 9:35 PM, Pete Gontier wrote: Retain Counts of io_object_t Objects in IOKit.framework <http://developer.apple.com/qa/qa2001/qa1195.html> Making sense of IOKit error codes <http://developer.apple.com/qa/qa2001/qa1075.html> --gc __________________________________________________________________ Garth Cummings Apple Developer Technical Support gcummings@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com The real problem is that IOServiceGetMatchingServices is failing with a return value of 0x10000003 and I can't figure out why. This error code apparently has something to do with Mach IPC, but I don't know much more than that even after searching the Darwin sources for clues. You're not the first person who's tried to figure out what 0x10000003 is, since it is defined in <mach/message.h> which has no obvious relationship to I/O Kit. (At least one engineer within Apple has asked me the same question.) If you search for 0x10000003 on <http://developer.apple.com>, you'll get these two hits that should clear things up: I've filed <rdar://problem/3910936> asking for a way to make that error more visible within the I/O Kit headers. http://developer.apple.com/technicalsupport smime.p7s
participants (1)
-
Garth Cummings