| MIL 10 Reference
| Customize Help
| Save Settings

MimFree



See also
Availability
Available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Synopsis
Free an image processing context or result buffer.
Syntax
void MimFree(
MIL_ID ContextOrResultImId //in
)
Description

This function frees the specified image processing context or result buffer, previously allocated with MimAlloc() or MimAllocResult(), respectively. It should also be used if an image processing context was restored using MimRestore() or MimStream() (The control flag in MimStream() should be set to M_RESTORE in this case).

All image processing contexts and 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 if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameter
ContextOrResultImId

Specifies the identifier of the image processing context or result buffer to free. These must have been successfully allocated (with MimAlloc() or MimAllocResult()) prior to calling this function.

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