| Customize Help
| Save Settings

MfuncParamCheck



Function Map
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 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
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.