UACOpenQuery DEPRECATED

Syntax

#include <cafe/uac.h>

int UACOpenQuery(usb_mic_handle_t h_inst, mem_res_query_t* p_res_query);

Parameters

h_inst Instance handle returned via usb_event_data_t data structure through the event handler of type usb_event_handler_t that is provided as an argument to UACInit and will contain a valid instance handle when the UAC device is attached.
p_res_query A pointer to a structure of type mem_res_query_t. The minimal memory resources required as well as their attributes are placed into this structure by this function.

Return Values

A value of zero indicates success and any other value the type of error that was encountered.

Description

This function is now deprecated and need no longer be called. The num_mem_res member of the structure mem_res_query_t will always be zero. Necessary resources are allocated at lower layers in the UAC driver stack.

This function can be called from the event handler that was provided with UACInit.

NOTE:
This function can be called from the event handler that was provided with UACInit.

Do Not Call From

Deprecated Do not call this function in new code.
Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

UACInit
UACOpen
mem_res_query_t
usb_mic_handle_t

Revision History

2013/05/29 Initial version.


CONFIDENTIAL