C# Class LibUsbDotNet.Main.UsbLockStyle

Contains the locking strategy for a UsbDevice and it's associated endpoints.
Locking styles are use to change the way proccess/threads are allowed to communcate with a USB device and/or endpoints. See the DeviceLockType, ControlEpLockType, and DataEpLockType enumerations for a description of the various locking styles.
ファイルを表示 Open project: arvydas/BlinkStickDotNet

Public Methods

Method Description
UsbLockStyle ( DeviceLockType deviceLockType, ControlEpLockType controlEpLockType, DataEpLockType dataEpLockType )

Create a device lock style class.

UsbLockStyle ( DeviceLockType deviceLockType, ControlEpLockType controlEpLockType, DataEpLockType dataEpLockType, int endpoint0Timeout, int endpointLockTimeout )

Create a device lock style class.

Method Details

UsbLockStyle() public method

Create a device lock style class.
public UsbLockStyle ( DeviceLockType deviceLockType, ControlEpLockType controlEpLockType, DataEpLockType dataEpLockType )
deviceLockType DeviceLockType See .
controlEpLockType ControlEpLockType See .
dataEpLockType DataEpLockType See .

UsbLockStyle() public method

Create a device lock style class.
public UsbLockStyle ( DeviceLockType deviceLockType, ControlEpLockType controlEpLockType, DataEpLockType dataEpLockType, int endpoint0Timeout, int endpointLockTimeout )
deviceLockType DeviceLockType See .
controlEpLockType ControlEpLockType See .
dataEpLockType DataEpLockType See .
endpoint0Timeout int Number of milliseconds to wait for an endpoint 0 lock before returning a timeout errorcode.
endpointLockTimeout int Number of milliseconds to wait for an endpoint lock before returning a timeout errorcode.