Jump to main content

##

# 2.9.4.6 USB_DEVICE_PRINTER_EVENT_DATA_WRITE_COMPLETE Structure

## C

    typedef struct {
      USB_DEVICE_PRINTER_TRANSFER_HANDLE handle;
      size_t length;
      USB_DEVICE_PRINTER_RESULT status;
    } USB_DEVICE_PRINTER_EVENT_DATA_READ_COMPLETE, USB_DEVICE_PRINTER_EVENT_DATA_WRITE_COMPLETE;

## Summary

USB Device Printer Function Driver Read and Write Complete Event Data.

This data type defines the data structure returned by the driver along with USB_DEVICE_PRINTER_EVENT_DATA_WRITE_COMPLETE and USB_DEVICE_PRINTER_EVENT_DATA_WRITE_COMPLETE events.

## Members

Members | Description
USB_DEVICE_PRINTER_TRANSFER_HANDLE handle; | Transfer handle associated with this read or write request
size_t length; | Indicates the amount of data (in bytes) that was read or written
USB_DEVICE_PRINTER_RESULT status; | Completion status of the transfer

## Remarks

None.