USB Libraries Help > USB Device Libraries > USB Device Printer Library > Library Interface > b) Data Types and Constants > USB_DEVICE_PRINTER_TRANSFER_HANDLE_INVALID Macro
MPLAB Harmony USB Stack
USB_DEVICE_PRINTER_TRANSFER_HANDLE_INVALID Macro

USB Device Printer Function Driver Invalid Transfer Handle Definition 

This definition defines a USB Device Printer Function Driver Invalid Transfer Handle. A Invalid Transfer Handle is returned by the USB_DEVICE_Printer_Write and USB_DEVICE_Printer_Read functions when the request was not successful.

C
#define USB_DEVICE_PRINTER_TRANSFER_HANDLE_INVALID ((USB_DEVICE_PRINTER_TRANSFER_HANDLE)(-1))
Remarks

None.