# qesdk\_getFunctionHandle

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/native_get_function_handle.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_get_function_handle.html)

**DEPRECATED**. Obtains a function execution handle (for one time use).

qesdk_getFunctionHandle()Copy to clipboard

## Parameters

| Parameter | Data type | Description |
| --- | --- | --- |
| qesdk\_handle | qesdk\_handle\_t | QESDK service handle. |
| opcode | uint32\_t | Opcode of the API. See [op<br>                  codes and subsystem IDs](op%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20codes%20and%20subsystem%20IDsqape_opcode_subsystem_id_list.dita), for more information. |
| subsys | uint32\_t | Subsystem ID of the API. See [op<br>                  codes and subsystem IDs](op%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20codes%20and%20subsystem%20IDsqape_opcode_subsystem_id_list.dita), for more information. |
| api\_name | char | Name of the function to invoke. |

## Returns

| Return | Description |
| --- | --- |
| qesdk\_fn\_handle\_t | QESDK service handle on success or NULL on error. |

**Parent Topic:** [Function execution (DEPRECATED)](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_functions.html)

Last Published: Nov 14, 2024

[Previous Topic
qesdk\_init](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_init.md) [Next Topic
qesdk\_addParam](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_add_param.md)