예제 #1
0
파일: UsbDevice.cs 프로젝트: Spawek/valeo
 static unsafe extern int libusb_handle_events(LibusbContext ctx);
예제 #2
0
파일: UsbDevice.cs 프로젝트: Spawek/valeo
 internal static extern int libusbInit(out LibusbContext ctx);
예제 #3
0
파일: UsbDevice.cs 프로젝트: Spawek/valeo
 internal static unsafe extern int libusbGetDeviceList(LibusbContext ctx, out IntPtr* list);
예제 #4
0
 /// <summary>
 /// gets a list of device pointers - must be freed with libusbFreeDeviceList
 /// </summary>
 /// <returns>number of devices OR an error code</returns>
 internal static unsafe extern int libusbGetDeviceList(LibusbContext ctx, out IntPtr *list);
예제 #5
0
 /// <summary>
 /// called to initialize the device context before any using any libusb functions
 /// </summary>
 /// <returns>an error code</returns>
 internal static extern int libusbInit(out LibusbContext ctx);
예제 #6
0
 static unsafe extern int libusb_handle_events(LibusbContext ctx);