clear_data_code_2d_model — Delete a 2D data code model and free the allocated memory.
clear_data_code_2d_model( : : DataCodeHandle : )
The operator clear_data_code_2d_model deletes a 2D data code
model that was created by create_data_code_2d_model or
read_data_code_2d_model.
All memory used by the model is freed.
The handle of the model is passed in DataCodeHandle.
After the operator call it is invalid.
For an explanation of the concept of the 2D data code reader see the introduction of chapter Identification / Data Code.
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.
DataCodeHandle (input_control, state is modified) datacode_2d → (handle)
Handle of the 2D data code model.
The operator clear_data_code_2d_model returns the value 2 (H_MSG_TRUE)
if a valid handle was passed and the referred 2D data code model can
be freed correctly.
Otherwise, an exception is raised.
create_data_code_2d_model,
read_data_code_2d_model
Data Code