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

USB Device CDC Function Driver Invalid Transfer Handle Definition 

This definition defines a USB Device CDC Function Driver Invalid Transfer Handle. A Invalid Transfer Handle is returned by the USB_DEVICE_CDC_Write, USB_DEVICE_CDC_Read and the USB_DEVICE_CDC_SerialStateNotificationSend functions when the request was not successful.

C
#define USB_DEVICE_CDC_TRANSFER_HANDLE_INVALID ((USB_DEVICE_CDC_TRANSFER_HANDLE)(-1))
Remarks

None.