Synopsis
Register a short parameter.
Format
void MfuncParamShort(FunctionId, ParamIndex, ParamValue)
MIL_ID FunctionId;
Function identifier
long ParamIndex;
Parameter index
short ParamValue;
Parameter value
Description
This function allows you to register a short parameter of the current pseudo-MIL function. The MfuncParamShort function should be called after a call to MfuncAlloc and before a call to MfuncStart.
The FunctionId parameter is the identifier of the current pseudo-MIL function.
The ParamIndex parameter is the index of the parameter within the function parameter list. The index of the first parameter is considered to be one.
The ParamValue parameter is the value of the short parameter.
See also
相关文章:MfuncAlloc()函数Synopsis Allocate a Pseudo-MIL function. Format MIL_ID MfuncAlloc(FunctionName, ParameterNumber)...
MfuncAllocId()函数Synopsis Allocate a MIL identifier for a user-created object. Format MIL_ID MfuncAllocId(FunctionId, ObjectType, UserPtr)...
MfuncErrorGet()函数Synopsis Get error code or message. Format long MfuncErrorGet(FunctionId, ErrorType, ErrorVarPtr)...
MfuncIdGetUserPtr()函数Synopsis Get the user pointer of a pseudo-MIL object. Format void MfuncIdGetUserPtr(FunctionId, ObjectId)...
MfuncIdSetObjectType()函数Synopsis Assign a new object type to a pseudo-MIL object. Format void MfuncIdSetObjectType(FunctionId, ObjectId, ObjectType)...
MfuncModified()函数Synopsis Signal the modification of a MIL buffer. Format long MfuncModified(BufId)...
MfuncParamLong()函数Synopsis Register a long parameter. Format void MfuncParamLong(FunctionId, ParamIndex, ParamValue)...
MfuncParamPointer()函数Synopsis Register a pointer parameter. Format void MfuncParamPointer(FunctionId, ParamIndex, *ParamValue)...
MfuncParamRegister()函数Synopsis Read the MIL application parameter registering flag. Format long MfuncParamRegister(FunctionId)...
MfuncParamString()函数Synopsis Register a null terminated string parameter. Format void MfuncParamString(FunctionId, ParamIndex, ParamValue)...