From 682698a4987bd126a18c51b71d758c328717d221 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 10 Jan 2003 01:45:13 +0000 Subject: [PATCH] Change types of WPARAM, LPARAM and LRESULT according to MS SDK definitions. --- include/windef.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/windef.h b/include/windef.h index d63fe68c6c4..daf3e22397e 100644 --- a/include/windef.h +++ b/include/windef.h @@ -197,10 +197,14 @@ typedef double DATE; #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; -- 2.11.4.GIT