clear_bar_code_modelT_clear_bar_code_modelClearBarCodeModelClearBarCodeModelclear_bar_code_model (Operator)
名称
clear_bar_code_modelT_clear_bar_code_modelClearBarCodeModelClearBarCodeModelclear_bar_code_model — 删除条形码模型并释放分配的内存。
签名
描述
The operator clear_bar_code_modelclear_bar_code_modelClearBarCodeModelClearBarCodeModelClearBarCodeModelclear_bar_code_model deletes a bar code model
that was created by create_bar_code_modelcreate_bar_code_modelCreateBarCodeModelCreateBarCodeModelCreateBarCodeModelcreate_bar_code_model. All memory used
by the model is freed. The handle of the model is passed in
BarCodeHandleBarCodeHandleBarCodeHandleBarCodeHandlebarCodeHandlebar_code_handle, which is invalid after the operator call.
执行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
参数
BarCodeHandleBarCodeHandleBarCodeHandleBarCodeHandlebarCodeHandlebar_code_handle (input_control, state is modified) barcode(-array) → HBarCode, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the bar code model.
结果
The operator clear_bar_code_modelclear_bar_code_modelClearBarCodeModelClearBarCodeModelClearBarCodeModelclear_bar_code_model returns the value 2 (
H_MSG_TRUE)
if a valid handle was passed and the referred bar code model can
be freed correctly.
Otherwise, an exception will be raised.
另见
find_bar_codefind_bar_codeFindBarCodeFindBarCodeFindBarCodefind_bar_code
模块
Bar Code