USBPrivateDataSample

Last Revision:
Version 1.2, 2006-10-16
Updated to produce a universal binary. Modernized and incorporated bug fixes.
(Full Revision History)
Build Requirements:
Xcode 2.2.1 or later.
Runtime Requirements:
Mac OS X 10.2 or later.

Demonstrates how to use IOKitLib and IOUSBLib to set up asynchronous callbacks when a USB device is attached to or removed from the system. It also shows how to associate arbitrary data with each device instance. This sample code has been updated to include a project that produces a universal binary.