php short 函数,MfuncParamShort()函数

MfuncParamShort函数用于注册伪-MIL函数的短整型参数,该函数需在MfuncAlloc和MfuncStart之间调用。FunctionId参数标识当前函数,ParamIndex参数为参数索引,从1开始计数,ParamValue则为参数值。此外,还提到了其他如MfuncAlloc、MfuncParamLong等用于分配、注册和管理函数参数的函数。
摘要由CSDN通过智能技术生成

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)...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值