LibUsbDotNet 2.2.8
HandleEvents Method (sessionHandle)
Library ReferenceMonoLibUsbMonoUsbApiHandleEvents(MonoUsbSessionHandle)
LibUsbDotNet on SourceForge
Handle any pending events in blocking mode with a sensible timeout.
Declaration Syntax
C#Visual BasicVisual C++
public static int HandleEvents(
	MonoUsbSessionHandle sessionHandle
Public Shared Function HandleEvents ( _
	sessionHandle As MonoUsbSessionHandle _
) As Integer
static int HandleEvents(
	[InAttribute] MonoUsbSessionHandle^ sessionHandle
Return Value
0 on success, or a MonoUsbError code on other failure.

This timeout is currently hardcoded at 2 seconds but we may change this if we decide other values are more sensible. For finer control over whether this function is blocking or non-blocking, or the maximum timeout, use libusb_handle_events_timeout instead.

Note: Member documentation was originally generated using the Libusb-1.0 API documentation: Polling and timing

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: (