⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usbioerrorcodes.java

📁 usbio Ver 2.40 source code!!! 做USB开发的值得
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
	 * specified for the IOCTL operation.
	*/
	public static final int	USBIO_ERR_INVALID_INBUFFER                     = 0xE0001001;
	/**
	 * An invalid output buffer has been passed to an IOCTL operation.
	 * This error is reported by the USBIO driver.
	 * Make sure the output buffer matches the type and size requirements
	 * specified for the IOCTL operation.
	*/
	public static final int	USBIO_ERR_INVALID_OUTBUFFER                    = 0xE0001002;
	/**
	 * There is not enough system memory available to complete the operation.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_OUT_OF_MEMORY                        = 0xE0001003;
	/**
	 * There are read or write requests pending.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_PENDING_REQUESTS                     = 0xE0001004;
	/**
	 * The USB device is already configured.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_ALREADY_CONFIGURED                   = 0xE0001005;
	/**
	 * The USB device is not configured.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_NOT_CONFIGURED                       = 0xE0001006;
	/**
	 * There are open pipes.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_OPEN_PIPES                           = 0xE0001007;
	/**
	 * Either the handle is already bound to a pipe or
	 * the specified pipe is already bound to another handle.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_ALREADY_BOUND                        = 0xE0001008;
	/**
	 * The handle is not bound to a pipe.
	 * This error is reported by the USBIO driver.
	 * The operation that has been failed with this error code is related to a pipe.
	 * Therefore, the handle has to be bound to a pipe before the operation can be executed.
	*/
	public static final int	USBIO_ERR_NOT_BOUND                            = 0xE0001009;
	/**
	 * The USB device has been removed from the system.
	 * This error is reported by the USBIO driver.
	 * An application should close all handles for the device.
	 * After it receives a Plug and Play notification it should perform
	 * a re-enumeration of devices.
	*/
	public static final int	USBIO_ERR_DEVICE_NOT_PRESENT                   = 0xE000100A;
	/**
	 * The specified control code is not supported.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_CONTROL_NOT_SUPPORTED                = 0xE000100B;
	/**
	 * The operation has been timed out.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_TIMEOUT                              = 0xE000100C;
	/**
	 * An invalid recipient has been specified.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_INVALID_RECIPIENT                    = 0xE000100D;
	/**
	 * Either an invalid request type has been specified or the
	 * operation is not supported by that pipe type.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_INVALID_TYPE                         = 0xE000100E;
	/**
	 * An invalid IOCTL code has been specified.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_INVALID_IOCTL                        = 0xE000100F;
	/**
	 * The direction of the data transfer request is not supported by that pipe.
	 * This error is reported by the USBIO driver.
	 * On IN pipes read requests are supported only.
	 * On OUT pipes write requests are supported only.
	*/
	public static final int	USBIO_ERR_INVALID_DIRECTION                    = 0xE0001010;
	/**
	 * The number of isochronous data packets specified in an isochronous read or write
	 * request exceeds the maximum number of packets supported by the USBIO driver.
	 * This error is reported by the USBIO driver.
	 * Note that the maximum number of packets allowed per isochronous data buffer
	 * can be adjusted by means of the registry parameter MaxIsoPackets.
	*/
	public static final int	USBIO_ERR_TOO_MUCH_ISO_PACKETS                 = 0xE0001011;
	/**
	 * The memory resources are exhausted.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_POOL_EMPTY                           = 0xE0001012;
	/**
	 * The specified pipe was not found in the current configuration.
	 * This error is reported by the USBIO driver.
	 * Note that only endpoints that are included in the current configuration
	 * can be used to transfer data.
	*/
	public static final int	USBIO_ERR_PIPE_NOT_FOUND                       = 0xE0001013;
	/**
	 * An invalid isochronous data packet has been specified.
	 * This error is reported by the USBIO driver.
	 * An isochronous data buffer contains an isochronous data packet with invalid
	 * Offset and/or Length parameters.
	*/
	public static final int	USBIO_ERR_INVALID_ISO_PACKET                   = 0xE0001014;
	/**
	 * There are not enough system resources to complete the operation.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_OUT_OF_ADDRESS_SPACE                 = 0xE0001015;
	/**
	 * The specified interface was not found in the current configuration or
	 * in the configuration descriptor.
	 * This error is reported by the USBIO driver.
	 * Note that only interfaces that are included in the current configuration
	 * can be used.
	*/
	public static final int	USBIO_ERR_INTERFACE_NOT_FOUND                  = 0xE0001016;
	/**
	 * The operation cannot be executed while the USB device is in the current state.
	 * This error is reported by the USBIO driver.
	 * It is not allowed to submit requests to the device while it is in a power
	 * down state.
	*/
	public static final int	USBIO_ERR_INVALID_DEVICE_STATE                 = 0xE0001017;
	/**
	 * An invalid parameter has been specified with an IOCTL operation.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_INVALID_PARAM                        = 0xE0001018;
	/**
	 * The evaluation interval of the USBIO DEMO version has expired.
	 * This error is reported by the USBIO driver.
	 * The USBIO DEMO version is limited in runtime.
	 * After the DEMO evaluation period has expired every operation will be
	 * completed with this error code.
	 * After the system is rebooted the USBIO DEMO driver can be used for another
	 * evaluation interval.
	*/
	public static final int	USBIO_ERR_DEMO_EXPIRED                         = 0xE0001019;
	/**
	 * An invalid power state has been specified.
	 * This error is reported by the USBIO driver.
	 * Note that it is not allowed to switch from one power down state to another.
	 * The device has to be set to D0 before it can be set to another power down state.
	*/
	public static final int	USBIO_ERR_INVALID_POWER_STATE                  = 0xE000101A;
	/**
	 * The device has entered a power down state.
	 * This error is reported by the USBIO driver.
	 * When the USB device leaves power state D0 and enters a power down state
	 * then all pending read and write requests will be
	 * cancelled and completed with this error status.
	 * If an application detects this error status it can re-submit the read or write requests
	 * immediately.
	 * The requests will be queued by the USBIO driver internally.
	*/
	public static final int	USBIO_ERR_POWER_DOWN                           = 0xE000101B;
	/**
	 * The API version reported by the USBIO driver does not match the expected version.
	 * This error is reported by the USBIO C++ class library USBIOLIB.
	 * See IOCTL_USBIO_GET_DRIVER_INFO for more information on USBIO version numbers.
	*/
	public static final int	USBIO_ERR_VERSION_MISMATCH                     = 0xE000101C;
	/**
	 * The set configuration operation has failed.
	 * This error is reported by the USBIO driver.
	*/
	public static final int	USBIO_ERR_SET_CONFIGURATION_FAILED             = 0xE000101D;
	/**
	 * An additional event object that has been passed to a function, was signalled.
	*/
	public static final int	USBIO_ERR_ADDITIONAL_EVENT_SIGNALLED           = 0xE000101E;

	/**
	 * The operation has failed due to a restriction of the USBIO LIGHT version.
	 * This error is reported by the USBIO driver.
	 * The LIGHT version does not support the Vendor ID reported by the USB device.
	*/
	public static final int	USBIO_ERR_VID_RESTRICTION                      = 0xE0001080;
	/**
	 * The operation has failed due to a restriction of the USBIO LIGHT version.
	 * This error is reported by the USBIO driver.
	 * The LIGHT version does not support isochronous transfers.
	*/
	public static final int	USBIO_ERR_ISO_RESTRICTION                      = 0xE0001081;
	/**
	 * The operation has failed due to a restriction of the USBIO LIGHT version.
	 * This error is reported by the USBIO driver.
	 * The LIGHT version does not support bulk transfers.
	*/
	public static final int	USBIO_ERR_BULK_RESTRICTION                     = 0xE0001082;
	/**
	 * The operation has failed due to a restriction of the USBIO LIGHT version.
	 * This error is reported by the USBIO driver.
	 * The LIGHT version does not support class or vendor specific SETUP requests
	 * or the data transfer length exceeds the limit.
	*/
	public static final int	USBIO_ERR_EP0_RESTRICTION                      = 0xE0001083;
	/**
	 * The operation has failed due to a restriction of the USBIO LIGHT version.
	 * This error is reported by the USBIO driver.
	 * The number of endpoints active in the current configuration exceeds the limit
	 * enforced by the LIGHT version.
	*/
	public static final int	USBIO_ERR_PIPE_RESTRICTION                     = 0xE0001084;
	/**
	 * The operation has failed due to a restriction of the USBIO LIGHT version.
	 * This error is reported by the USBIO driver.
	 * The FIFO size of an endpoint of the current configuration exceeds the limit
	 * enforced by the LIGHT version.
	*/
	public static final int	USBIO_ERR_PIPE_SIZE_RESTRICTION                = 0xE0001085;
	/**
	 * The operation has failed due to a restriction of the USBIO LIGHT version.
	 * This error is reported by the USBIO driver.
	 * The LIGHT version does not support control endpoints besides EP0.
	*/
	public static final int	USBIO_ERR_CONTROL_RESTRICTION                  = 0xE0001086;
	/**
	 * The operation has failed due to a restriction of the USBIO LIGHT version.
	 * This error is reported by the USBIO driver.
	 * The LIGHT version does not support interrupt transfers.
	*/
	public static final int	USBIO_ERR_INTERRUPT_RESTRICTION                = 0xE0001087;

	/**
	 * The specified device object does not exist.
	 * This error is reported by the USBIO C++ class library USBIOLIB.
	 * The USB device is not connected to the system or it has been removed
	 * by the user.
	*/
	public static final int	USBIO_ERR_DEVICE_NOT_FOUND                     = 0xE0001100;
	/**
	 * No device object was opened.
	 * There is no valid handle to execute the operation.
	 * This error is reported by the USBIO} C++ class library USBIOLIB.
	*/
	public static final int	USBIO_ERR_DEVICE_NOT_OPEN                      = 0xE0001102;
	/**
	 * The enumeration of the specified devices has failed.
	 * There are no devices of the specified type available.
	 * This error is reported by the USBIO C++ class library USBIOLIB.
	*/
	public static final int	USBIO_ERR_NO_SUCH_DEVICE_INSTANCE              = 0xE0001104;
	/**
	 * An invalid parameter has been passed to a function.
	 * This error is reported by the USBIO C++ class library USBIOLIB.
	*/
	public static final int	USBIO_ERR_INVALID_FUNCTION_PARAM               = 0xE0001105;
	/**
	 * The library setupapi.dll could not be loaded.
	 * This error is reported by the USBIO C++ class library USBIOLIB.
	 * The Setup API that is exported by the system-provided setupapi.dll
	 * is part of the Win32 API.
	 * It is available in Windows 98 and later systems.
	*/
	public static final int	USBIO_ERR_LOAD_SETUP_API_FAILED                = 0xE0001106;

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -