Change types of WPARAM, LPARAM and LRESULT according to MS SDK definitions

Dmitry Timoshkov dmitry at baikal.ru
Thu Jan 9 07:32:01 CST 2003


Hello,

here is another tiny step towards Win64 support along with general support
for 64-bit platforms. No new warnings arise due this change.

Changelog:
    Change types of WPARAM, LPARAM and LRESULT according to MS SDK definitions.

--- cvs/hq/wine/include/windef.h	Thu Jan  9 20:46:19 2003
+++ wine/include/windef.h	Thu Jan  9 20:51:56 2003
@@ -197,10 +197,14 @@
 #endif  /* __WINESRC__ */
 
 
+/* Polymorphic types */
+
+typedef UINT_PTR        WPARAM;
+typedef LONG_PTR        LPARAM;
+typedef LONG_PTR        LRESULT;
+
 /* Integer types */
-typedef UINT            WPARAM;
-typedef LONG            LPARAM;
-typedef LONG            LRESULT;
+
 typedef WORD            ATOM;
 typedef WORD            CATCHBUF[9];
 typedef WORD           *LPCATCHBUF;







More information about the wine-patches mailing list