USB Libraries Help > USB Host Libraries > USB Host Layer Library > Library Interface > b) Data Types and Constants > USB_HOST_DEVICE_OBJ_HANDLE_INVALID Macro
MPLAB Harmony USB Stack
USB_HOST_DEVICE_OBJ_HANDLE_INVALID Macro

USB Host Invalid Device Object Handle 

This constant defines an invalid USB Device Object Handle. The USB_HOST_DeviceGetFirst() and the USB_HOST_DeviceGetNext() functions return this value in the deviceObjHandle member of the USB_HOST_DEVICE_INFO object when there are no attached devices to report.

C
#define USB_HOST_DEVICE_OBJ_HANDLE_INVALID ((USB_HOST_DEVICE_OBJ_HANDLE)(-1))
Remarks

None.