Function GenieEngine_free

Function Documentation

Genie_Status_t GenieEngine_free(const GenieEngine_Handle_t engineHandle)

A function to free memory associated with a engine handle. This call will fail if the engine handle is still bound to a active dialog.

Parameters

engineHandle[in] A engine handle. Must not be NULL

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Engine handle is invalid.

  • GENIE_STATUS_ERROR_BOUND_HANDLE: Engine handle is bound to another handle.

  • GENIE_STATUS_ERROR_MEM_ALLOC: Memory (de)allocation failure.