USBMICOpenQuery DEPRECATED

Syntax

#include <cafe/usb_mic.h>

int USBMICOpenQuery(usb_mic_handle_t h_inst, mem_res_query_t* p_res_query);

Parameters

h_inst Device instance handle issued by the UAC stack. This handle must be used for all references to the UAC device instance. This handle is of type usb_mic_handle_t.
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 USBMICInit.

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

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

USBMICInit
USBMICOpen
mem_res_query_t
usb_mic_handle_t

Revision History

2013/05/08 Automated cleanup pass.
2012/08/03 Cleanup Pass
2012/07/06 Update for SDK2.06
2012/01/04 Initial version.


CONFIDENTIAL