| MIL 10 Reference
| Customize Help
| Save Settings

MfuncParamCheck



See also
Reference:
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
None.
Synopsis
Verify whether parameter checking is required.
Syntax
MIL_INT MfuncParamCheck(
MIL_ID ContextFuncId //in
)
Description

This function allows you to verify, from within your user-defined MIL function, whether parameter checking is enabled or disabled. To enable or disable the checking of parameters, use the MappControl() M_PARAMETER control type.

Call the MfuncParamCheck() function prior to checking the parameters of the specified user-defined MIL function. The return value of the MfuncParamCheck() function should dictate whether to execute the functions that perform the parameter checking, or not. Then, to save the parameter checking time for a time-critical user-defined MIL function, it is sufficient to disable parameter checking using MappControl() with M_CHECK_DISABLE.

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
ContextFuncId

Specifies the identifier of the user-defined MIL function.

Return value
The returned value is M_NULL if no parameter checking is required; otherwise, checking is required.
Compilation information
Header Include mil.h.
Library Use mil.lib.
DLL Requires mil.dll.