Used to copy an Interpretation object.
Functions
- H_SI LVInterpretation_CreateFromCopy(H_SI hsi)
Parameters
hsi
The interpretation handle being copied.
Return Value
NULL
There was a problem copying the interpretation.
Not NULL
The copied interpretation object.
Remarks
Any new handle given to you via LVInterpretation_CreateFromCopy must be released with LVInterpretation_Release. Also, any handle given to you by the speech port through LV_SRE_CreateInterpretation must be released with LVInterpretation_Release.
Example
H_SI SemanticInterpretation = LVInterpretation_Create();
SemanticInterpretation = LV_SRE_CreateInterpretation(hport, voicechannel, index);
H_SI CopyInterpretation = LVInterpretation_CreateFromCopy(SemanticInterpretation);
LVInterpretation_Release(SemanticInterpretation);
LVInterpretation_Release(CopyInterpretation);
See Also