69,371
社区成员
发帖
与我相关
我的任务
分享
typedef struct tagMsgCB
{
int usSendSeqNum;
int usAckNum;
int ucIpcMsgType;
int ucFragFlg;
int ucReserved;
int ucPrio;
int ulSenderCpuId;
int ulSenderPid;
int ulReceiverCpuId;
int ulReceiverPid;
int uwLength;
UINT8 aucValue[2];
} VOS_MSG_BLOCK;
// 后面还有应用
typedef struct tagMsgCB
{
VOS_MSG_HEADER //这里VOS_MSG_HEADER怎么用的?
UINT8 aucValue[2];
} VOS_MSG_BLOCK;
// 宏是纯文本替换 相当于:
VOS_MSG_BLOCK test;
test.usSendSeqNum=1;
test.usAckNum=1;
test.ucIpcMsgType=1;