MIL_ID ContextFuncId, | //in |
MIL_INT ParamIndex, | //in |
const void *ParamValuePtr, | //in |
MIL_UINT ParamType, | //in |
MIL_INT NumOfItems, | //in |
MIL_INT64 MilObjectType, | //in |
MIL_INT Attribute | //in |
This function allows you to register a parameter of any data type to the current user-defined MIL function. The MfuncParam() function should be called in the master function after a call to MfuncAlloc() and before a call to MfuncCall().
MfuncParam() calls an explicitly named type-specific variation of this function. For example, to register a MIL_INT, it calls MfuncParamMilInt(). Note that, for execution efficiency, you can call the appropriate, explicitly named, type-specific variation of MfuncParam() directly. When registering parameters using the explicitly named type-specific variation of MfuncParam(), you must use that function's specific signature, found below.
Specifies the index of the parameter within the user-defined MIL function's parameter list. The index of the first parameter is considered to be one.
Specifies the address of the array or variable to register.
Note that for non-arrays, you must pass a reference to the variable. For arrays, you just pass the array name.
Specifies the parameter type of the parameter in the user-defined MIL function. Parameter types include data types, arrays of data types, void pointers, strings, and file names.
See the Parameter associations section for possible values that can be specified.
Specifies the size of the data pointed to by the ParamValuePtr parameter.
When the data is an array, the size is the number of elements. When the data is a string, the size is the number of characters in the string. When the data is a pointer, the size is in bytes. For all other types of data, set this parameter to M_DEFAULT.
This value must be greater than 0 in all cases other than M_DEFAULT.
See the Parameter associations section for possible values that can be specified.
Specifies the type of the MIL object when the data type of the parameter of the user-defined function is MIL_ID. The available object types are divided into two groups. When the specified object is of a type listed in the first group, you can specify a single or multiple object type(s) from this group. The object types of the second group cannot be used in combination with each other.
When the data type of the parameter of the user-defined function is not MIL_ID or an array of MIL_ID s, set MilObjectType to M_NULL.
The following value specifies the type of MIL objects that the MIL identifier type parameter will accept. Any value in this table can be combined with one or more values in this table. For example, if the MIL object is expected to be of type M_ARRAY or M_COUNT_LIST, set the MilObjectType parameter to M_ARRAY + M_COUNT_LIST.
For specifying the type of MIL object
accepted by the MIL identifier type parameter (one or
multiple)
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_APPLICATION |
Specifies a MIL application context allocated using MappAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_ARRAY |
Specifies a MIL array buffer allocated using MbufAlloc2d() with M_ARRAY. |
||||||||||||||||||||||||||||||||||||||
M_COUNT_LIST |
Specifies a MIL count list result buffer allocated using MimAllocResult() with M_COUNT_LIST. |
||||||||||||||||||||||||||||||||||||||
M_DIGITIZER |
Specifies a MIL digitizer allocated using MdigAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_DISPLAY |
Specifies a MIL display allocated using MdispAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_EVENT |
Specifies a MIL event allocated using MthrAlloc() with M_EVENT. |
||||||||||||||||||||||||||||||||||||||
M_EVENT_LIST |
Specifies a MIL event list result buffer allocated using MimAllocResult() with M_EVENT_LIST. |
||||||||||||||||||||||||||||||||||||||
M_EXTREME_LIST |
Specifies a MIL extreme list result buffer allocated using MimAllocResult() with M_EXTREME_LIST. |
||||||||||||||||||||||||||||||||||||||
M_FIND_ORIENTATION_LIST |
Specifies a MIL find orientation list result buffer allocated using MimAllocResult() with M_FIND_ORIENTATION_LIST. |
||||||||||||||||||||||||||||||||||||||
M_GRAPHIC_CONTEXT |
Specifies a MIL graphics context allocated using MgraAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_GRAPHIC_LIST |
Specifies a MIL graphics list allocated using MgraAllocList(). |
||||||||||||||||||||||||||||||||||||||
M_HIST_LIST |
Specifies a MIL histogram list result buffer allocated using MimAllocResult() with M_HIST_LIST. |
||||||||||||||||||||||||||||||||||||||
M_IM_CONTEXT |
Specifies a MIL image processing context allocated using MimAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_IMAGE |
Specifies a MIL image buffer allocated using MbufAllocColor() with M_IMAGE. |
||||||||||||||||||||||||||||||||||||||
M_KERNEL |
Specifies a MIL kernel buffer allocated using MbufAlloc2d() with M_KERNEL. |
||||||||||||||||||||||||||||||||||||||
M_LOCATE_PEAK_1D_RESULT |
Specifies a MIL locate 1D peak result buffer allocated using MimAllocResult() with M_LOCATE_PEAK_1D_RESULT. |
||||||||||||||||||||||||||||||||||||||
M_LUT |
Specifies a MIL LUT buffer allocated using MbufAlloc2d() with M_LUT. |
||||||||||||||||||||||||||||||||||||||
M_PROJ_LIST |
Specifies a MIL project list result buffer allocated using MimAllocResult() with M_PROJ_LIST. |
||||||||||||||||||||||||||||||||||||||
M_SEQUENCE_CONTEXT |
Specifies a MIL sequence context allocated using MseqAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_STAT_LIST |
Specifies a MIL MimStat() result buffer allocated using MimAllocResult() with M_STAT_LIST. |
||||||||||||||||||||||||||||||||||||||
M_STAT_MULTIPLE_RESULT |
Specifies a MIL MimStatMultiple() result buffer allocated using MimAllocResult() with M_STAT_MULTIPLE_RESULT. |
||||||||||||||||||||||||||||||||||||||
M_STRUCT_ELEMENT |
Specifies a MIL structuring element buffer allocated using MbufAlloc2d() with M_STRUCT_ELEMENT. |
||||||||||||||||||||||||||||||||||||||
M_SYS_IO_CONTEXT |
Specifies a MIL system I/O context allocated using MsysIoAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_SYSTEM |
Specifies a MIL system context allocated using MsysAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_WAVELET_TRANSFORM_RESULT |
Specifies a MIL wavelet transform result buffer allocated using MimAllocResult() with M_WAVELET_TRANSFORM_RESULT. |
The following value specifies the type of MIL objects that the MIL identifier type parameter will accept. No value in this table can be combined with any other value in this table, though a value in this table can be combined with one or more values from the above table.
For specifying the type of MIL object
accepted by the MIL identifier type parameter (only
one)
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_3DMAP_ALIGNMENT_RESULT |
Specifies a MIL 3D reconstruction result buffer allocated using M3dmapAllocResult() with M_ALIGNMENT_RESULT. |
||||||||||||||||||||||||||||||||||||||
M_3DMAP_DEPTH_CORRECTED_DATA |
Specifies a MIL 3D reconstruction result buffer allocated using M3dmapAllocResult() with M_DEPTH_CORRECTED_DATA. |
||||||||||||||||||||||||||||||||||||||
M_3DMAP_GEOMETRY |
Specifies a MIL 3D geometry object allocated using M3dmapAlloc() with M_GEOMETRY. |
||||||||||||||||||||||||||||||||||||||
M_3DMAP_LASER_CALIBRATION_DATA |
Specifies a MIL 3D reconstruction result buffer allocated using M3dmapAllocResult() with M_LASER_CALIBRATION_DATA. |
||||||||||||||||||||||||||||||||||||||
M_3DMAP_LASER_CONTEXT |
Specifies a MIL 3D reconstruction context allocated using M3dmapAlloc() with M_LASER. |
||||||||||||||||||||||||||||||||||||||
M_3DMAP_PAIRWISE_ALIGNMENT_CONTEXT |
Specifies a MIL pairwise 3D alignment context allocated using M3dmapAlloc() with M_PAIRWISE_ALIGNMENT_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
M_3DMAP_POINT_CLOUD_CONTAINER |
Specifies a MIL 3D reconstruction result buffer allocated using M3dmapAllocResult() with M_POINT_CLOUD_CONTAINER. |
||||||||||||||||||||||||||||||||||||||
M_3DMAP_STAT_RESULT |
Specifies a MIL 3D reconstruction result buffer allocated using M3dmapAllocResult() with M_STAT_RESULT. |
||||||||||||||||||||||||||||||||||||||
M_BEAD_CONTEXT |
Specifies a MIL bead context allocated using MbeadAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_BEAD_RESULT |
Specifies a MIL bead result buffer allocated using MbeadAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_BLOB_FEATURE_LIST |
Specifies a MIL blob analysis feature list allocated using MblobAllocFeatureList(). |
||||||||||||||||||||||||||||||||||||||
M_BLOB_RESULT |
Specifies a MIL blob analysis result buffer allocated using MblobAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_CAL_CONTEXT |
Specifies a MIL calibration context allocated using McalAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_CAL_FIXTURING_OFFSET |
Specifies a MIL fixturing offset object allocated using McalAlloc() with M_FIXTURING_OFFSET. |
||||||||||||||||||||||||||||||||||||||
M_CODE_CONTEXT |
Specifies a MIL code context allocated using McolAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_CODE_MODEL |
Specifies a MIL code model allocated using McodeModel() with M_ADD. |
||||||||||||||||||||||||||||||||||||||
M_CODE_RESULT |
Specifies a MIL code result buffer allocated using McodeAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_COL_MATCH_CONTEXT |
Specifies a MIL color analysis context (for matching) allocated using McolAlloc() with M_COLOR_MATCHING. |
||||||||||||||||||||||||||||||||||||||
M_COL_MATCH_RESULT |
Specifies a MIL color analysis result buffer (for matching) allocated using McolAllocResult() with M_COLOR_MATCHING_RESULT. |
||||||||||||||||||||||||||||||||||||||
M_COL_RELATIVE_CALIBRATION_CONTEXT |
Specifies a MIL relative color calibration context allocated using McolAlloc() with M_COLOR_CALIBRATION_RELATIVE. |
||||||||||||||||||||||||||||||||||||||
M_EDGE_CONTOUR |
Specifies a MIL edge contour context allocated using MedgeAlloc() with M_CONTOUR. |
||||||||||||||||||||||||||||||||||||||
M_EDGE_CREST |
Specifies a MIL edge crest context allocated using MedgeAlloc() with M_CREST. |
||||||||||||||||||||||||||||||||||||||
M_EDGE_RESULT |
Specifies a MIL edge result buffer allocated using MedgeAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_MEAS_CONTEXT |
Specifies a MIL measurement context allocated using MmeasAllocContext(). |
||||||||||||||||||||||||||||||||||||||
M_MEAS_MARKER |
Specifies a MIL measurement marker allocated using MmeasAllocMarker(). |
||||||||||||||||||||||||||||||||||||||
M_MEAS_RESULT |
Specifies a MIL measurement result buffer allocated using MmeasAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_MET_CONTEXT |
Specifies a MIL metrology context allocated using MmetAlloc() with M_CONTEXT. |
||||||||||||||||||||||||||||||||||||||
M_MET_DERIVED_GEOMETRY_REGION |
Specifies a MIL metrology derived geometry region object allocated using MmetAlloc() with M_DERIVED_GEOMETRY_REGION. |
||||||||||||||||||||||||||||||||||||||
M_MET_RESULT |
Specifies a MIL metrology result buffer allocated using MmetAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_MOD_GEOMETRIC |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_GEOMETRIC. |
||||||||||||||||||||||||||||||||||||||
M_MOD_GEOMETRIC_CONTROLLED |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_GEOMETRIC_CONTROLLED. |
||||||||||||||||||||||||||||||||||||||
M_MOD_RESULT |
Specifies a MIL Model Finder result buffer allocated using MmodAllocResult() with M_DEFAULT. |
||||||||||||||||||||||||||||||||||||||
M_MOD_SHAPE_RESULT |
Specifies a MIL Model Finder result buffer allocated using MmodAllocResult() with M_SHAPE_CIRCLE. |
||||||||||||||||||||||||||||||||||||||
M_MUTEX |
Specifies a MIL mutex allocated using MthrAlloc() with M_MUTEX. |
||||||||||||||||||||||||||||||||||||||
M_OCR_FONT |
Specifies a MIL character recognition font context allocated using MocrAllocFont(). |
||||||||||||||||||||||||||||||||||||||
M_OCR_RESULT |
Specifies a MIL character recognition result buffer allocated using MocrAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_PAT_MODEL |
Specifies a MIL pattern matching model allocated using MpatAllocModel(). |
||||||||||||||||||||||||||||||||||||||
M_PAT_RESULT |
Specifies a MIL pattern matching result buffer allocated using MpatAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_REG_EDOF_CONTEXT |
Specifies a MIL registration context allocated using MregAlloc() with M_EXTENDED_DEPTH_OF_FIELD. |
||||||||||||||||||||||||||||||||||||||
M_REG_EDOF_RESULT |
Specifies a MIL registration result buffer allocated using MregAllocResult() with M_EXTENDED_DEPTH_OF_FIELD_RESULT. |
||||||||||||||||||||||||||||||||||||||
M_REG_STITCHING_CONTEXT |
Specifies a MIL registration context allocated using MregAlloc() with M_STITCHING. |
||||||||||||||||||||||||||||||||||||||
M_REG_STITCHING_RESULT |
Specifies a MIL registration result buffer allocated using MregAllocResult() with M_STITCHING_RESULT. |
||||||||||||||||||||||||||||||||||||||
M_SELECTABLE_THREAD |
Specifies a MIL selectable thread allocated using MthrAlloc() with M_SELECTABLE_THREAD. |
||||||||||||||||||||||||||||||||||||||
M_SHAPE_CIRCLE |
Specifies a MIL Model Finder context allocated using MmodAlloc() with M_SHAPE_CIRCLE. |
||||||||||||||||||||||||||||||||||||||
M_STR_CONTEXT |
Specifies a MIL string context allocated using MstrAlloc(). |
||||||||||||||||||||||||||||||||||||||
M_STR_RESULT |
Specifies a MIL string result buffer allocated using MstrAllocResult(). |
||||||||||||||||||||||||||||||||||||||
M_THREAD |
Specifies a MIL thread context object allocated using MthrAlloc() with M_THREAD. |
||||||||||||||||||||||||||||||||||||||
M_USER_OBJECT_1 + |
Specifies a MIL object from group one of the user-defined object types allocated using MfuncAllocId() with M_USER_OBJECT_1. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_USER_OBJECT_2 + |
Specifies a MIL object from group two of the user-defined object types allocated using MfuncAllocId() with M_USER_OBJECT_2. (more details...) |
You must add the following value to the above-mentioned values to set the offset.
The offset allows you to distinguish between the different object types of the same group (for example, M_USER_OBJECT_1 + 0x0001).
For distinguishing between the different
object types
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the offset within the selected object type group. (more details...) |
Specifies whether the parameter will be used for data input or to store new data.
When registering a const array type parameter, Attribute must be set to M_IN.
See the Parameter associations section for possible values that can be specified.
The tables below list possible values for the ParamType, NumOfItems, and Attribute parameters.
The following values specify to call type-specific variations of MfuncParam() that register parameters that handle primitive MIL data types, such as, MIL_DOUBLE, MIL_INT, and MIL_UINT64, as well as strings, void pointers and file names.
Unless otherwise specified, when specifying values from this table, you must set the NumOfItems parameter to M_DEFAULT, the MilObjectType parameter to M_NULL, and the Attribute parameter to M_NULL.
For registering a primitive data-type
parameter in a MIL user-defined function
|
|||||||||||||||||||||||||||||||||||||||
ParamType |
Description
|
||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_DOUBLE |
Specifies to call MfuncParamMilDouble(), which then registers a type MIL_DOUBLE parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_INT |
Specifies to call MfuncParamMilInt(), which then registers a type MIL_INT parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_INT32 |
Specifies to call MfuncParamMilInt32(), which then registers a type MIL_INT32 parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_INT64 |
Specifies to call MfuncParamMilInt64(), which then registers a type MIL_INT64 parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_UINT |
Specifies to call MfuncParamMilUint(), which then registers a type MIL_UINT parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_UINT32 |
Specifies to call MfuncParamMilUint32(), which then registers a type MIL_UINT32 parameter for the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_UINT64 |
Specifies to call MfuncParamMilUint64(), which then registers a type MIL_INT64 parameter for the current user-defined MIL function. (more details...) |
The following values specify to call type-specific variations of MfuncParam() that register parameters that handle arrays of primitive MIL data types, such as, MIL_DOUBLE, MIL_INT, and MIL_UINT64.
When specifying values from this table, you must set the NumOfItems parameter to the number of items in the array, and you must set the MilObjectType parameter to M_NULL.
For registering a primitive data-type
array parameter in a MIL user-defined function
|
|||||||||||||||||||||||||||||||||||||||
ParamType |
Description
|
||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_ARRAY_MIL_DOUBLE |
Specifies to call MfuncParamArrayMilDouble(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_ARRAY_MIL_INT |
Specifies to call MfuncParamArrayMilInt(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_ARRAY_MIL_INT32 |
Specifies to call MfuncParamArrayMilInt32(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_ARRAY_MIL_INT64 |
Specifies to call MfuncParamArrayMilInt64(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_ARRAY_MIL_UINT |
Specifies to call MfuncParamArrayMilUint(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_ARRAY_MIL_UINT32 |
Specifies to call MfuncParamArrayMilUint32(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_ARRAY_MIL_UINT64 |
Specifies to call MfuncParamArrayMilUint64(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_UINT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
The following values specify to call type-specific variations of MfuncParam() that register parameters that handle const arrays of primitive MIL data types, such as, MIL_DOUBLE, MIL_INT, and MIL_UINT64, as well as const pointers and const strings.
Unless otherwise specified, when specifying values from this table, you must set the NumOfItems parameter to the number of items in the array, and you must set the MilObjectType parameter to M_NULL.
For registering a const array of
primitive data-types parameter in a MIL user-defined
function
|
|||||||||||||||||||||||||||||||||||||||
ParamType |
Description
|
||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_ARRAY_MIL_DOUBLE |
Specifies to call MfuncParamConstArrayMilDouble(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_ARRAY_MIL_INT |
Specifies to call MfuncParamConstArrayMilInt(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_ARRAY_MIL_INT32 |
Specifies to call MfuncParamConstArrayMilInt32(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_ARRAY_MIL_INT64 |
Specifies to call MfuncParamConstArrayMilInt64(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_ARRAY_MIL_UINT |
Specifies to call MfuncParamConstArrayMilUint(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_ARRAY_MIL_UINT32 |
Specifies to call MfuncParamConstArrayMilUint32(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_ARRAY_MIL_UINT64 |
Specifies to call MfuncParamConstArrayMilUint64(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_UINT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
The following values specify to call type-specific variations of MfuncParam() that register a string or file name parameter.
Unless otherwise specified, when specifying values from this table, you must set the MilObjectType parameter to M_NULL.
For registering a string or file name
type parameter in a MIL user-defined function
|
|||||||||||||||||||||||||||||||||||||||
ParamType |
Description
|
||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_MIL_TEXT |
Specifies to call MfuncParamConstMilText(), which then registers a parameter of the current user-defined MIL function that handles a const string. (more details...) |
||||||||||||||||||||||||||||||||||||||
NumOfItems |
Specifies one of the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies for MIL to auto-calculate the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the object passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_FILENAME |
Specifies to call MfuncParamFilename(), which then registers a parameter of the current user-defined MIL function that handles a file name. (more details...) |
||||||||||||||||||||||||||||||||||||||
NumOfItems |
Specifies one of the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies for MIL to auto-calculate the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies one of the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the parameter of the current user-defined MIL function will be registered for file reading only. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the parameter of the current user-defined MIL function will be registered for file writing only. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_TEXT |
Specifies to call MfuncParamMilText(), which then registers a parameter of the current user-defined MIL function that handles a string. (more details...) |
||||||||||||||||||||||||||||||||||||||
NumOfItems |
Specifies one of the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies for MIL to auto-calculate the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the number of characters in the string. |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the array passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the array passed to ParamValuePtr is used to store new data from the user-defined function. |
The following values specify to call type-specific variations of MfuncParam() that register pointer parameters, including arrays and const arrays of pointers.
Unless otherwise specified, when specifying values from this table, you must set the MilObjectType parameter to M_NULL.
For registering a pointer type parameter
in a MIL user-defined function
|
|||||||||||||||||||||||||||||||||||||||
ParamType |
Description
|
||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_DATA_PTR |
Specifies to call MfuncParamConstDataPointer(), which then registers a parameter of the current user-defined MIL function that handles a const data pointer. (more details...) |
||||||||||||||||||||||||||||||||||||||
NumOfItems |
Specifies the number of bytes in the pointer. |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the object passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_DATA_PTR |
Specifies to call MfuncParamDataPointer(), which then registers a parameter of the current user-defined MIL function that handles a data pointer. (more details...) |
||||||||||||||||||||||||||||||||||||||
NumOfItems |
Specifies the number of bytes in the pointer. |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the object passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the object passed to ParamValuePtr is used to store new data from the user-defined function. |
The following values specify to call type-specific variations of MfuncParam() that register parameters that handle a MIL_ID, including arrays and const arrays of MIL_ID s.
When registering MIL_ID parameters, you must specify a value for MilObjectType.
For registering a MIL identifier type
parameter in a MIL user-defined function
|
|||||||||||||||||||||||||||||||||||||||
ParamType |
Description
|
||||||||||||||||||||||||||||||||||||||
NumOfItems | |||||||||||||||||||||||||||||||||||||||
Attribute | |||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_ARRAY_MIL_ID + |
Specifies to call MfuncParamArrayMilId(), which then registers a parameter of the current user-defined MIL function that handles an array of type MIL_ID. (more details...) |
||||||||||||||||||||||||||||||||||||||
NumOfItems |
Specify the number of elements in the array. |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the objects referenced in the array passed to ParamValuePtr are used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the objects referenced by the MIL_ID passed to ParamValuePtr are used to store new data from the user-defined function. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_CONST_ARRAY_MIL_ID + |
Specifies to call MfuncParamConstArrayMilId(), which then registers a parameter of the current user-defined MIL function that handles a const array of type MIL_ID. (more details...) |
||||||||||||||||||||||||||||||||||||||
NumOfItems |
Specify the number of elements in the array. |
||||||||||||||||||||||||||||||||||||||
Attribute |
Specifies the following. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the objects referenced in the array passed to ParamValuePtr are used for data input. |
||||||||||||||||||||||||||||||||||||||
M_PARAM_TYPE_MIL_ID + |
Specifies to call MfuncParamMilId(), which then registers a type MIL_ID parameter of the current user-defined MIL function. (more details...) |
||||||||||||||||||||||||||||||||||||||
NumOfItems |
This parameter must be set to M_DEFAULT. |
||||||||||||||||||||||||||||||||||||||
Attribute |
This parameter should be set to one or both (M_IN + M_OUT) of the following values. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN |
Specifies that the object referenced by the MIL_ID passed to ParamValuePtr is used for data input. |
||||||||||||||||||||||||||||||||||||||
M_OUT |
Specifies that the object referenced by the MIL_ID passed to ParamValuePtr is used to store new data from the user-defined function. |
You can add one or more of the following values to the above-mentioned values to specify the optional settings for a MIL identifier type parameter.
When you register a MIL identifier type of parameter, the user-defined function will throw an error if a value other than a MIL_ID is passed to it. There are, however, non-standard identifier values that can be accepted. The values specified below specify which non-standard identifier values are valid in addition to a MIL_ID.
There is also the optional of specifying that a MIL identifier will not be internally modified or compensated during the execution of the user-defined function.
For specifying optional settings for a
MIL identifier type parameter
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_ALLOW_DEFAULT_ID |
Specifies that this parameter will accept M_DEFAULT as a valid MIL_ID. |
||||||||||||||||||||||||||||||||||||||
M_ALLOW_NULL_ID |
Specifies that this parameter will accept M_NULL as a valid MIL_ID. |
||||||||||||||||||||||||||||||||||||||
M_AS_VALUE |
Specifies that this parameter will accept any valid MIL_ID, but will not internally modify it. (more details...) |
You can add one or more of the following values to the above-mentioned values to specify the image buffer type, if MilObjectType is set to M_IMAGE.
If you specify an M_IMAGE object (from the ParamValuePtr parameter) that does not correspond to any of the type(s) selected from the values listed below, an error is returned. If none of the values specified below are added, any M_IMAGE object will be accepted. Note that you cannot specify any of the following if the MilObjectType parameter is set to a combination of values.
For specifying the type of image
buffer when the MilObjectType is set to M_IMAGE
|
|||||||||||||||||||||||||||||||||||||||
Combination value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DISP |
Specifies that the buffer can be displayed. |
||||||||||||||||||||||||||||||||||||||
M_GRAB |
Specifies that the buffer can have data grabbed into it. |
||||||||||||||||||||||||||||||||||||||
M_PROC |
Specifies that the buffer can be processed. |
void MfuncParamArrayMilDouble (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_DOUBLE *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilId
(MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_ID *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT64 MilObjectType,
MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. MilObjectType See MilObjectType of the main function for a description. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilInt (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_INT *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilInt32 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_INT32 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilInt64 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_INT64 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilUint (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_UINT *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilUint32 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_UINT32 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamArrayMilUint64 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_UINT64 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilDouble (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_DOUBLE *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilId (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_ID *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT64 MilObjectType,
MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. MilObjectType See MilObjectType of the main function for a description. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilInt (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_INT *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilInt32 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_INT32 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilInt64 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_INT64 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilUint (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_UINT *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilUint32 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_UINT32 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstArrayMilUint64 (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const MIL_UINT64 *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. Specifies the value of the type MIL_UINT64 parameter. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstDataPointer (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
const void *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the number of elements in the array. Attribute See Attribute of the main function for a description. |
void MfuncParamConstMilText (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_CONST_TEXT_PTR ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the length of the string in characters, including the null terminator. Attribute See Attribute of the main function for a description. |
void MfuncParamDataPointer (MIL_ID ContextFuncId,
MIL_INT ParamIndex,
void *ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the size of the data, in bytes, pointed to by ParamValuePtr. Attribute See Attribute of the main function for a description. |
void MfuncParamFilename
(MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_CONST_TEXT_PTR ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the length of the string in characters, including the null terminator. Attribute See Attribute of the main function for a description. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_DOUBLE parameter. |
void MfuncParamMilId
(MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_ID ParamValue,
MIL_INT64 MilObjectType,
MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_ID parameter. MilObjectType See MilObjectType of the main function for a description. Attribute See Attribute of the main function for a description. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_INT parameter. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_INT32 parameter. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_INT64 parameter. |
void MfuncParamMilText
(MIL_ID ContextFuncId,
MIL_INT ParamIndex,
MIL_TEXT_PTR ParamValuePtr,
MIL_INT
NumOfItems, MIL_INT Attribute)
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValuePtr See ParamValuePtr of the main function for a description. NumOfItems See NumOfItems of the main function for a description. Specifies the length of the string in characters, including the null terminator. Attribute See Attribute of the main function for a description. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_UINT parameter. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_UINT32 parameter. |
Parameters
ContextFuncId See ContextFuncId of the main function for a description. ParamIndex See ParamIndex of the main function for a description. ParamValue Specifies the value of the type MIL_UINT64 parameter. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |