Accessing Hardware From Applications
PDF
Introduction
Hardware-Access Options
Other APIs That Provide Access to Hardware
Where to Go From Here
Device Access and the I/O Kit
I/O Kit Summary
Device Interfaces and Device Files
Finding and Accessing Devices
Finding Devices in the I/O Registry
Examining Matching Objects
Putting It All Together: Accessing a Device
The IOKitLib API
Object Reference-Counting and Introspection
Device Discovery and Notification
I/O Registry Access
Device-Interface Development
Handling Errors
Interpreting I/O Kit Error Return Values
Handling Exclusive-Access Errors
Appendix A: I/O Kit Family Device-Access Support
Revision History
Glossary
Index