LibUsbDotNet 2.2.8
AttachKernelDriver Method (deviceHandle, interfaceNumber)
Library ReferenceMonoLibUsbMonoUsbApiAttachKernelDriver(MonoUsbDeviceHandle, Int32)
LibUsbDotNet on SourceForge
Re-attach an interface's kernel driver, which was previously detached using DetachKernelDriver(MonoUsbDeviceHandle, Int32).
Declaration Syntax
C#Visual BasicVisual C++
public static int AttachKernelDriver(
	MonoUsbDeviceHandle deviceHandle,
	int interfaceNumber
)
Public Shared Function AttachKernelDriver ( _
	deviceHandle As MonoUsbDeviceHandle, _
	interfaceNumber As Integer _
) As Integer
public:
static int AttachKernelDriver(
	[InAttribute] MonoUsbDeviceHandle^ deviceHandle, 
	int interfaceNumber
)
Parameters
deviceHandle (MonoUsbDeviceHandle)
A device handle.
interfaceNumber (Int32)
The interface to attach the driver from.
Return Value
Remarks
Note: Member documentation was originally generated using the Libusb-1.0 API documentation: Device handling and enumeration

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)