WPARAM and LPARAM parameters

前端 未结 5 1326
野趣味
野趣味 2020-12-29 07:49

When passing a value to a function that takes both a WPARAM and a LPARAM parameter, does it matter on which of them I pass it? Someone told me that if I use Windows x64 I sh

5条回答
  •  既然无缘
    2020-12-29 08:21

    It's message-specific. You can use this list of system-defined message categories as reference. Select a group, then a message from the group to see what the message specifies you should pass as WPARAM/LPARAM.

    Raymond Chen explains why we have two params.

提交回复
热议问题