McolFree
| Board | Supported |
|---|---|
| Host System | Yes |
| V4L2 | Yes |
| Clarity UHD | Yes |
| Concord PoE | No |
| GenTL | Yes |
| GevIQ | Yes |
| GigE Vision | Yes |
| Indio | No |
| Iris GTX | Yes |
| Radient eV-CL | Yes |
| Rapixo CL | Yes |
| Rapixo CoF | Yes |
| Rapixo CXP | Yes |
| USB3 Vision | Yes |
Free a color matching context, a relative color calibration context, or a color matching result buffer.
Syntax
void McolFree(
AIL_ID ContextIdOrResultId //in
)
Description
This function deletes the specified context or result buffer, and releases any memory associated with it. If specifying a context, this function deletes all its color-samples. To only delete color-samples in a context, use McolDefine with M_DELETE.
All contexts and all result buffers allocated on a particular system must be freed before the system can be freed, unless M_UNIQUE_ID was specified during allocation.
Parameters
ContextIdOrResultId (in, AIL_ID)
Specifies the identifier of the context or result buffer to free. These must have been successfully allocated (with McolAlloc or McolAllocResult) prior to calling this function.