2.9.4.12 USB_DEVICE_PRINTER_RESULT Enumeration
C
typedef enum { USB_DEVICE_PRINTER_RESULT_OK, USB_DEVICE_PRINTER_RESULT_ERROR_TRANSFER_SIZE_INVALID, USB_DEVICE_PRINTER_RESULT_ERROR_TRANSFER_QUEUE_FULL, USB_DEVICE_PRINTER_RESULT_ERROR_INSTANCE_INVALID, USB_DEVICE_PRINTER_RESULT_ERROR_INSTANCE_NOT_CONFIGURED, USB_DEVICE_PRINTER_RESULT_ERROR_PARAMETER_INVALID, USB_DEVICE_PRINTER_RESULT_ERROR_ENDPOINT_HALTED, USB_DEVICE_PRINTER_RESULT_ERROR_TERMINATED_BY_HOST, USB_DEVICE_PRINTER_RESULT_ERROR } USB_DEVICE_PRINTER_RESULT;
Summary
USB Device Printer Function Driver USB Device Printer Result enumeration.
This enumeration lists the possible USB Device Printer Function Driver operation results. These values are returned by USB Device Printer Library functions.
Members
Members | Description |
USB_DEVICE_PRINTER_RESULT_OK | The operation was successful |
USB_DEVICE_PRINTER_RESULT_ERROR_TRANSFER_SIZE_INVALID | The transfer size is invalid. Refer to the description of the read or write function for more details |
USB_DEVICE_PRINTER_RESULT_ERROR_TRANSFER_QUEUE_FULL | The transfer queue is full and no new transfers can be scheduled |
USB_DEVICE_PRINTER_RESULT_ERROR_INSTANCE_INVALID | The specified instance is not provisioned in the system |
USB_DEVICE_PRINTER_RESULT_ERROR_INSTANCE_NOT_CONFIGURED | The specified instance is not configured yet |
USB_DEVICE_PRINTER_RESULT_ERROR_PARAMETER_INVALID | The event handler provided is NULL |
USB_DEVICE_PRINTER_RESULT_ERROR_ENDPOINT_HALTED | Transfer terminated because host halted the endpoint |
USB_DEVICE_PRINTER_RESULT_ERROR_TERMINATED_BY_HOST | Transfer terminated by host because of a stall clear |
USB_DEVICE_PRINTER_RESULT_ERROR | General Function driver error |