edmiFreeQueryResult
void edmiFreeQueryResult(SdaiQueryResult queryResult);
Releases the virtual memory allocated by the edmiExecuteQuery and edmiExecuteQueryBN operations. The EDMinterface is allocating the required virtual memory for the result from an EDMquery. It is the calling applications responsibility to release this virtual memory when it is not longer needed to avoid "out of virtual memory" and avoid memory leakage.
Arguments
Type | Name | Comment |
SdaiQueryResult | queryResult | The address of the EDMquery result data returned from the edmiExecuteQuery and edmiExecuteQueryBN operations. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Â
Example
Â
 EdmiError rstat; SdaiModel modelId; SdaiQuery queryId; SdaiQueryResult qs; . . . if (rstat = edmiExecuteQuery(modelId, queryId, 2, RESULT_AS_TABLE, &qs, sdaiSTRING, "PIDaba44889", sdaiSTRING, "myName")) { /* Error in operation */ printf("\nError: %s in edmiExecuteQuery\n", edmiGetErrorText(rstat)); goto error; } /* Use query result */ . . . edmiFreeQueryResult(qs); /* Query result no longer accessible */
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â