hi_tde_cancel_job
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
☓ |
|
☓ |
|
√ |
|
☓ |
|
☓ |
Function Description
After calling hi_tde_begin_job to create a task and before calling hi_tde_end_job to submit the task, you can call this API to cancel the corresponding TDE task and commands in the task.
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
handle |
Input |
Handle to a TDE job. |
Returns
- 0: success
- Other values: failure. For details, see Return Codes for TDE Graphics Drawing.
Restrictions
- Before calling this API, call hi_tde_open to open the TDE device and call hi_tde_begin_job to obtain a valid task handle.
- This API cannot be called to cancel a job that has been submitted by calling hi_tde_end_job.
- A canceled job is no longer valid. You cannot add commands to the job submit the job.
- This API does not support multiple processes.
Parent topic: TDE Graphics Drawing