public static class FTPA_Service { internal const CallingConvention CC = 0; internal const string LIBUSB_DLL = @"ExternalLib\fasttracerpa.dll"; [DllImport(LIBUSB_DLL, CallingConvention = CC, SetLastError = false, EntryPoint = "FTPA_enumerateAllDeviceInfo")] internal static extern IntPtr FTPA_enumerateAllDeviceInfo(IntPtr devCount); [DllImport(LIBUSB_DLL, CallingConvention = CC, SetLastError = false, EntryPoint = "FTPA_getAllDeviceInfo")] internal static extern FASTTRACERPA_RETURN_CODE FTPA_getAllDeviceInfo(IntPtr rDI, IntPtr prSize); public static IntPtr EnumAllDeviceInfo() { return FTPA_enumerateAllDeviceInfo(new IntPtr(0)); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)