internal static extern CFRunLoopExitReason CFRunLoopRunInMode(
			CFStringRef cfstrMode, CFTimeInterval interval, bool returnAfterSourceHandled);
		internal static extern CFDictionaryRef CFDictionaryCreate (
			CFAllocatorRef allocator,
			CFStringRef[] keys,
			CFNumberRef[] values,
			CFIndex numValues,
			ref CFDictionary.CFDictionaryKeyCallBacks keyCallBacks,
			ref CFDictionary.CFDictionaryValueCallBacks valueCallBacks
			);
Exemple #3
0
 internal static extern void RunLoopRemoveSource(
     CFRunLoopRef rl,
     CFRunLoopSourceRef source,
     CFStringRef mode);
Exemple #4
0
 public static extern CFTypeRef IOHIDDeviceGetProperty(
     IOHIDDeviceRef device,
     CFStringRef key);
 internal static extern CFRunLoopExitReason CFRunLoopRunInMode(
     CFStringRef cfstrMode, CFTimeInterval interval, bool returnAfterSourceHandled);
Exemple #6
0
 internal static extern CFIndex CFStringGetLength(
     CFStringRef theString
     );
 internal static extern CFIndex CFStringGetLength(
     CFStringRef theString
 );
		internal static extern void IOHIDDeviceUnscheduleFromRunLoop(
			IOHIDDeviceRef device,
			CFRunLoopRef runLoop,
			CFStringRef runLoopMode);// AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
Exemple #9
0
		public static extern void AERemoteProcessResolverScheduleWithRunLoop (AERemoteProcessResolverRef resRef,
			CFRunLoopRef runLoop, CFStringRef runLoopMode, AERemoteProcessResolverCallback callback,
			ref AERemoteProcessResolverContext ctx);
 internal static extern Boolean CFStringGetCString(
     CFStringRef theString,
     byte[] buffer,
     CFIndex bufferSize,
     CFStringEncoding encoding
 );
 internal static extern void IOHIDDeviceUnscheduleFromRunLoop(
     IOHIDDeviceRef device,
     CFRunLoopRef runLoop,
     CFStringRef runLoopMode);            // AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
 public static extern void IOHIDDeviceScheduleWithRunLoop(
     IOHIDDeviceRef device,
     CFRunLoopRef inCFRunLoop,
     CFStringRef inCFRunLoopMode);
 public static extern void IOHIDManagerScheduleWithRunLoop(
     IOHIDManagerRef inIOHIDManagerRef,
     CFRunLoopRef inCFRunLoop,
     CFStringRef inCFRunLoopMode);
		public static extern void IOHIDManagerScheduleWithRunLoop(
			IOHIDManagerRef inIOHIDManagerRef,
			CFRunLoopRef inCFRunLoop,
			CFStringRef inCFRunLoopMode);
 internal static extern void RunLoopAddSource(
     CFRunLoopRef rl,
     CFRunLoopSourceRef source,
     CFStringRef mode);
		public static extern void IOHIDDeviceScheduleWithRunLoop(
			IOHIDDeviceRef device,
			CFRunLoopRef inCFRunLoop,
			CFStringRef inCFRunLoopMode);
Exemple #17
0
 internal static extern Boolean CFStringGetCString(
     CFStringRef theString,
     byte[] buffer,
     CFIndex bufferSize,
     CFStringEncoding encoding
     );
Exemple #18
0
 public static extern CFTypeRef IOHIDDeviceGetProperty(
     IOHIDDeviceRef device,
     CFStringRef key);
Exemple #19
0
 public static extern void AERemoteProcessResolverScheduleWithRunLoop(AERemoteProcessResolverRef resRef,
                                                                      CFRunLoopRef runLoop, CFStringRef runLoopMode, AERemoteProcessResolverCallback callback,
                                                                      ref AERemoteProcessResolverContext ctx);