Skip to main content

Native ABI ownership and status

Supply caller-owned inputs for the duration of each call. Initialize output structures before use. Copy any data you need before releasing its owning result. Use the matching free function from the same library; buffers inside a compound result belong to that result.

Return statusWhat to do
OKConsume populated outputs and release them.
PARTIALInspect the usable result or license status and retrieve the diagnostic. Release populated outputs.
NO_DATAA poll or search returned no result. For streaming, push further input or flush at end of input.
ERRORRetrieve the diagnostic before making another call on the same thread.

Use Misb0601LastErrorMessage or LibmisbLastErrorMessage on the calling native thread. Release its returned message buffer. The ST 0601 and raw KLV references identify the owner of each result.