extern static void IOHIDDeviceRegisterInputReportCallback( IOHIDDeviceRef device, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] uint8_t[] report, CFIndex reportLength, IOHIDReportCallback callback, IntPtr context);
internal static extern IOReturn IOHIDDeviceSetReportWithCallback( IOHIDDeviceRef device, IOHIDReportType reportType, int reportID, IntPtr report, int reportLength, CFTimeInterval timeout, IOHIDReportCallback callback, IntPtr context); //AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
extern static IOReturn IOHIDDeviceGetReportWithCallback( IOHIDDeviceRef device, IOHIDReportType reportType, CFIndex reportID, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 4)] uint8_t[] report, ref CFIndex pReportLength, CFTimeInterval timeout, IOHIDReportCallback callback, IntPtr context);
public static extern void IOHIDDeviceRegisterInputReportCallback( IOHIDDeviceRef device, // IOHIDDeviceRef for the HID device IntPtr report, // pointer to the report data ( uint8_t's ) int reportLength,// number of bytes in the report ( CFIndex ) IOHIDReportCallback callback, // the callback routine IntPtr context); //AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
internal static extern IOReturn IOHIDDeviceSetReportWithCallback( IOHIDDeviceRef device, IOHIDReportType reportType, int reportID, IntPtr report, int reportLength, CFTimeInterval timeout, IOHIDReportCallback callback, IntPtr context) ;//AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
public static extern void IOHIDDeviceRegisterInputReportCallback(IntPtr device, IntPtr report, IntPtr reportLength, IOHIDReportCallback callback, IntPtr context);
extern static void IOHIDManagerRegisterInputReportCallback( IOHIDManagerRef manager, IOHIDReportCallback callback, IntPtr context);
public static extern void IOHIDDeviceRegisterInputReportCallback( IOHIDDeviceRef device, // IOHIDDeviceRef for the HID device IntPtr report, // pointer to the report data ( uint8_t's ) int reportLength, // number of bytes in the report ( CFIndex ) IOHIDReportCallback callback, // the callback routine IntPtr context); //AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
internal static extern IOReturn IOHIDDeviceSetReportWithCallback( IOHIDDeviceRef device, IOHIDReportType reportType, int reportID, IntPtr report, int reportLength, CFTimeInterval timeout, IOHIDReportCallback callback, IntPtr context);
extern static IOReturn IOHIDDeviceGetReportWithCallback ( IOHIDDeviceRef device, IOHIDReportType reportType, CFIndex reportID, [MarshalAs (UnmanagedType.LPArray, SizeParamIndex = 4)] uint8_t[] report, ref CFIndex pReportLength, CFTimeInterval timeout, IOHIDReportCallback callback, IntPtr context);
extern static void IOHIDDeviceRegisterInputReportCallback ( IOHIDDeviceRef device, [MarshalAs (UnmanagedType.LPArray, SizeParamIndex = 2)] uint8_t[] report, CFIndex reportLength, IOHIDReportCallback callback, IntPtr context);