internal static extern void IOHIDDeviceUnscheduleFromRunLoop( IOHIDDeviceRef device, CFRunLoopRef runLoop, CFStringRef runLoopMode);// AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
public static extern void IOHIDManagerScheduleWithRunLoop( IOHIDManagerRef inIOHIDManagerRef, CFRunLoopRef inCFRunLoop, CFStringRef inCFRunLoopMode);
public static extern void IOHIDDeviceScheduleWithRunLoop( IOHIDDeviceRef device, CFRunLoopRef inCFRunLoop, CFStringRef inCFRunLoopMode);
static extern int AudioServicesAddSystemSoundCompletion(uint soundId, CFRunLoopRef runLoop, NSString runLoopMode, SystemSoundCompletionCallback completeionRoutine, IntPtr clientData);
internal static extern void CFRunLoopStop(CFRunLoopRef rl);
internal static extern void RunLoopAddSource( CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
internal static extern void RunLoopRemoveSource( CFRunLoopRef rl, CFRunLoopSourceRef source, CFStringRef mode);
internal static extern void IOHIDDeviceUnscheduleFromRunLoop( IOHIDDeviceRef device, CFRunLoopRef runLoop, CFStringRef runLoopMode); // AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
public static extern void AERemoteProcessResolverScheduleWithRunLoop (AERemoteProcessResolverRef resRef, CFRunLoopRef runLoop, CFStringRef runLoopMode, AERemoteProcessResolverCallback callback, ref AERemoteProcessResolverContext ctx);
public static extern void AERemoteProcessResolverScheduleWithRunLoop(AERemoteProcessResolverRef resRef, CFRunLoopRef runLoop, CFStringRef runLoopMode, AERemoteProcessResolverCallback callback, ref AERemoteProcessResolverContext ctx);