Home > Software engineering >  Overall this is what function? The guys are met?
Overall this is what function? The guys are met?

Time:09-16

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;

//Asynchronous send
Overall (Stack - & gt; MSGS, newMessage);
return true;
}

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);
}

CodePudding user response:

Microsoft message related API

CodePudding user response:

refer to the original poster RadStudioEx response:
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;

//Asynchronous send
Overall (Stack - & gt; MSGS, newMessage);
return true;
}

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);
}

https://docs.microsoft.com/en-us/cpp/parallel/concrt/asynchronous-message-blocks? View=v - 2019

CodePudding user response:

Asynchronous messaging

https://www.cnblogs.com/findumars/p/8627636.html
  • Related