USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > d) Data Types and Constants > USB_HOST_AUDIO_V1_0_DeviceObjHandleGet Macro
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_0_DeviceObjHandleGet Macro

This function returns the device object handle for this Audio v1.0 Device. This returned device object handle can be used by the application to perform device-level operations such as getting the string descriptors.

C
#define USB_HOST_AUDIO_V1_0_DeviceObjHandleGet USB_HOST_AUDIO_V1_DeviceObjHandleGet
Preconditions

None.

Parameters
Parameters 
Description 
audioDeviceObj 
Audio V1.0 device object handle returned in the USB_HOST_AUDIO_V1_0_ATTACH_EVENT_HANDLER function. 
Returns

This function will return a valid device object handle if the device is still connected to the system. Otherwise, USB_HOST_DEVICE_OBJ_HANDLE_INVALID is returned.

Remarks

None.