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 status | What to do |
|---|---|
OK | Consume populated outputs and release them. |
PARTIAL | Inspect the usable result or license status and retrieve the diagnostic. Release populated outputs. |
NO_DATA | A poll or search returned no result. For streaming, push further input or flush at end of input. |
ERROR | Retrieve 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.