如何从我的 WindowProc 中获取 MSG 值?
How to get the MSG value from inside my WindowProc?
Win32 API 是否提供任何方法从进程内部检索当前正在处理的 struct MSG
value that the WindowProc?
P.S。我不能使用像 static 这样臭名昭著的全局结构,以后肯定会咬我的。
如果它是相关的,我需要它的原因是将消息泵送到其他处理程序(我只知道在运行时)以进行实际处理,只要我能帮助它,我不想丢失任何数据。
MSG structure are passed to the window procedure. The remaining members can be retrieved through API calls. You can get the pt
value using GetMessagePos and the time
value using GetMessageTime的前四位成员。
Win32 API 是否提供任何方法从进程内部检索当前正在处理的 struct MSG
value that the WindowProc?
P.S。我不能使用像 static 这样臭名昭著的全局结构,以后肯定会咬我的。
如果它是相关的,我需要它的原因是将消息泵送到其他处理程序(我只知道在运行时)以进行实际处理,只要我能帮助它,我不想丢失任何数据。
MSG structure are passed to the window procedure. The remaining members can be retrieved through API calls. You can get the pt
value using GetMessagePos and the time
value using GetMessageTime的前四位成员。