| Customize Help
| Save Settings

McolFree



Function Map
Synopsis
Free a color matching context, a relative color calibration context, or a color matching result buffer.
Syntax
void McolFree(
MIL_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.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see which MIL system’s documentation you should use in its place and any possible differences.
Parameters
This function is not supported on the selected boards.
This function reference has not been updated for the selected MIL system. To show the content of this page, choose a second MIL system; refer to the MIL system's release note to see which MIL system’s documentation to choose and any possible differences.
Parameter
ContextIdOrResultId

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.

Compilation information
Header Include mil.h.
Library Use mil.lib; milcolor.lib.
DLL Requires mil.dll; milcolor.dll.