io_iterator_t enumerator; kern_return_t result; result = IOServiceAddMatchingNotification( mNotifyPort, kIOMatchedNotification,
A non-static function has an implicit this parameter, and thus would have the wrong signature for the callback.
static
this
Sorry, no easy way to avoid the jump island.