My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#import <IOKit/IOTypes.h>

IOKIT_EXPORT const mach_port_t kIOMasterPortDefault;

// these go in IOKitKeys.h
#define kIOPlatformSerialNumberKey "IOPlatformSerialNumber"
#define kIOPropertyMatchKey "IOPropertyMatch"
#define kIOServicePlane "IOService"

IOKIT_EXPORT CFMutableDictionaryRef IOServiceMatching(const char *name);

IOKIT_EXPORT io_service_t IOServiceGetMatchingService(mach_port_t masterPort,CFDictionaryRef matching);
IOKIT_EXPORT kern_return_t IOServiceGetMatchingServices(mach_port_t masterPort,CFDictionaryRef matching,io_iterator_t *existing);

IOKIT_EXPORT CFTypeRef IORegistryEntryCreateCFProperty(io_registry_entry_t entry,CFStringRef key,CFAllocatorRef allocator,IOOptionBits options);

IOKIT_EXPORT io_object_t IOIteratorNext(io_iterator_t iterator);

IOKIT_EXPORT kern_return_t IORegistryEntryGetParentEntry(io_registry_entry_t entry,const io_name_t plane,io_registry_entry_t *parent);

IOKIT_EXPORT kern_return_t IOObjectRelease(io_object_t object);

Change log

a023b80bade0 by Christopher Lloyd <c...@objc.net> on Oct 22, 2010   Diff
added IOKit
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 993 bytes, 22 lines
Powered by Google Project Hosting