# qesdk\_addParam

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

**DEPRECATED.** Adds parameters to the function handle.

qesdk_addParam()Copy to clipboard

Note: The order of adding API parameters to a function handle must match the
        corresponding signature from the API definition.

## Parameters

| Parameter | Data type | Description |
| --- | --- | --- |
| fn\_handle | qesdk\_fn\_handle | QESDK function handle. |
| type | qesdk\_type\_t | Data type of the parameter to be added. |
| data | void | Pointer to the actual data storage (caller-managed memory). |

## Returns

| Return | Description |
| --- | --- |
| qesdk\_error\_t | <ul class="ul"><br>                  <li class="li">SUCCESS: Parameter added successfully to the function handle</li><br><br>                  <li class="li">FAILED: Parameter addition to the function handle failed</li><br><br>                </ul> |

**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\_getFunctionHandle](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_get_function_handle.md) [Next Topic
qesdk\_performTask](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_perform_task.md)