C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

UsbLockStyle() публичный Метод

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

UsbLockStyle() публичный Метод

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.