# qesdk\_decodeResult

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/native_decode_result.html](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_error_t qesdk_decodeResult() Copy to clipboard

## Parameters

| **Parameter** | **Data Type** | **Description** |
| --- | --- | --- |
| result | qesdk\_result\_t | QESDK result object from qesdk\_performTask |
| type | qesdk\_type\_t \* | storage for the data type that is returned in data (caller managed) |
| data | void \*\* | actual return data |

## Returns

| **Return** | **Data Type** | **Description** |
| --- | --- | --- |
| status | qesdk\_error\_t | <ul class="ul"><li class="li">Success: Decoding result successful</li><br><br>                  <li class="li">Failed: Decoding result failed</li><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\_performTask](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_perform_task.md) [Next Topic
qesdk\_freeFunctionHandle](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/native_free_function_handle.md)