pos/is4c-nf/scale-drivers/drivers/NewMagellan/HidSharp/Platform/MacOS/NativeMethods.cs
Class NativeMethods
has 49 methods (exceeds 20 allowed). Consider refactoring. Open
Open
static class NativeMethods
{
const string CoreFoundation = "/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation";
const string CoreServices = "/System/Library/Frameworks/CoreServices.framework/CoreServices";
const string IOKit = "/System/Library/Frameworks/IOKit.framework/IOKit";
Method IOHIDDeviceRegisterInputReportCallback
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static extern void IOHIDDeviceRegisterInputReportCallback(IntPtr device, IntPtr report, IntPtr reportLength,
IOHIDReportCallback callback, IntPtr context);
Method IOHIDDeviceGetReport
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static extern IOReturn IOHIDDeviceGetReport(IntPtr device, IOHIDReportType type, IntPtr reportID, IntPtr report, ref IntPtr reportLength);
Method IOHIDDeviceSetReport
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static extern IOReturn IOHIDDeviceSetReport(IntPtr device, IOHIDReportType type, IntPtr reportID, IntPtr report, IntPtr reportLength);