Beispiel #1
0
 public static extern IOKitError IOServiceAddMatchingNotification(IntPtr notifyPort, string notificationType, IntPtr matching, IOServiceMatchingCallback callback, DeviceWatcherCallbackReference refCon, ref IntPtr notification);
Beispiel #2
0
 public static extern IOKitError IOServiceAddInterestNotification(IntPtr notifyPort, IntPtr service, string interestType, IOServiceInterestCallback callback, DeviceWatcherCallbackReference refCon, ref IntPtr notification);