# Function execution (DEPRECATED) Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/native_functions.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_functions.html) These APIs are deprecated from Snapdragon Gen-2. This section explains the function execution API, which is used to call the subsystem API. - **[qesdk_init](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_init.html)** **This API is deprecated use [qesdk_initEx](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_init_ex.html).** Initializes a QESDK session with a user-given license key. It triggers an authentication call to QESDK and returns the QESDK service handle on success or NULL on failure. - **[qesdk_getFunctionHandle](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_addParam](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_add_param.html)** **DEPRECATED.** Adds parameters to the function handle. - **[qesdk_performTask](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_perform_task.html)** **DEPRECATED.** Executes the QESDK service function. - **[qesdk_decodeResult](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_decode_result.html)** **DEPRECATED.** Decodes the result of the function executed using qesdk\_performTask. Callers need to check the return for SUCCESS prior to using information from the type/data return parameters. Caller needs to execute qesdk\_freeFunctionHandle to relinquish all resources associated with the QESDK service function call. - **[qesdk_freeFunctionHandle](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_free_function_handle.html)** Frees the storage associated with the function handle, including the return results. **Parent Topic:** [QESDK Native API](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_api.html) Last Published: Nov 14, 2024 [Previous Topic Example code](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_example_code.md) [Next Topic qesdk\_init](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_init.md)