Skip to content

IONotificationPortGetRunLoopSource function & notification keys#9

Open
pmj wants to merge 1 commit into
dcuddeback:masterfrom
pmj:io-notifications
Open

IONotificationPortGetRunLoopSource function & notification keys#9
pmj wants to merge 1 commit into
dcuddeback:masterfrom
pmj:io-notifications

Conversation

@pmj

@pmj pmj commented Sep 4, 2018

Copy link
Copy Markdown

This adds a foreign function declaration for IONotificationPortGetRunLoopSource() as well as C-string "constants" (as functions, same as other IOKit string constants) to be used with IOServiceAddMatchingNotification().

The notification keys are constants to be passed as the notificationType argument to IOServiceAddMatchingNotification().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant