I look at the others' project source, overall, in baidu, don't come out is what function, specific have what effect? Characters above, should be a send function, send how to receive? I don't know.
Bool MsgSend (MESSAGE_STACK * Stack, int Msg, duint Param1, duint Param2)//this is the project source code, { If (Stack - & gt; Destroy) return false;
The MESSAGE the newMessage; The newMessage. MSG=MSG; The newMessage. Param1=param1; The newMessage. Param2=param2;
Code is how to write, I went in and looked at the overall function, he is VC/include/agents. The function of h The template & lt; The class _Type & gt; Bool overall (_Inout_ ITarget<_Type & gt; * _Trg, const _Type & amp; _Data while forming) { Return the details: : _Originator: : _asend (_Trg _Data while forming); }