Exemplo n.º 1
0
 static unsafe extern int libusb_handle_events(LibusbContext ctx);
Exemplo n.º 2
0
 internal static extern int libusbInit(out LibusbContext ctx);
Exemplo n.º 3
0
 internal static unsafe extern int libusbGetDeviceList(LibusbContext ctx, out IntPtr* list);
Exemplo n.º 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);
Exemplo n.º 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);
Exemplo n.º 6
0
 static unsafe extern int libusb_handle_events(LibusbContext ctx);