When did WPARAM change from being signed to unsigned?

别等时光非礼了梦想. 提交于 2019-12-10 03:32:19

问题


In Delphi 6 WPARAM is declared as being signed:

WPARAM = Longint;

In Delphi 2010 WPARAM is declared as being signed:

WPARAM = INT_PTR;

But in XE2 it is declared as being unsigned:

WPARAM = UINT_PTR;

The official Windows definition is:

typedef UINT_PTR WPARAM;

This matches with XE2.


Does anyone know whether the change was made for XE or for XE2?


回答1:


In Delphi XE WPARAM = INT_PTR; so the change was introduced in XE2.



来源:https://stackoverflow.com/questions/7837084/when-did-wparam-change-from-being-signed-to-unsigned

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!