Table: | For specifying the system |
MIL_ID SysId, | //in |
MIL_INT64 ControlFlag, | //in |
MIL_ID *ResultCodeIdPtr | //out |
This function allocates a code result buffer on the specified system to store results obtained from an McodeTrain(), McodeDetect() McodeRead(), McodeGrade(), or McodeWrite() operation. When the result buffer is no longer required, release it, using McodeFree().
Specifies the system on which to allocate the result buffer. This parameter should be set to one of the following values:
For specifying the system
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies the type of result buffer to allocate. This parameter must be set to one of the following:
For specifying the result buffer type
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_CODE_GRADE_RESULT. |
||||||||||||||||||||||||||||||||||||||
M_CODE_DETECT_RESULT |
Specifies to allocate a code detect result buffer to be used with McodeDetect(). |
||||||||||||||||||||||||||||||||||||||
M_CODE_GRADE_RESULT |
Specifies to allocate a code grade result buffer to be used with McodeGrade(). |
||||||||||||||||||||||||||||||||||||||
M_CODE_READ_RESULT |
Specifies to allocate a code read result buffer to be used with McodeRead(). |
||||||||||||||||||||||||||||||||||||||
M_CODE_TRAIN_RESULT |
Specifies to allocate a code train result buffer to be used with McodeTrain(). |
||||||||||||||||||||||||||||||||||||||
M_CODE_WRITE_RESULT |
Specifies to allocate a code write result buffer to be used with McodeWrite(). |
Header | Include mil.h. |
Library | Use mil.lib; milcode.lib. |
DLL | Requires mil.dll; milcode.dll. |