Dmitry Timoshkov : include: Add HandleToUlong, UlongToHandle,
UintToPtr, UlongToPtr compatibility macros.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jul 13 08:30:14 CDT 2007
Module: wine
Branch: master
Commit: 3a12fa9e503d2f001346125386edac7b31aa55f7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a12fa9e503d2f001346125386edac7b31aa55f7
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Fri Jul 13 14:18:29 2007 +0900
include: Add HandleToUlong, UlongToHandle, UintToPtr, UlongToPtr compatibility macros.
---
include/basetsd.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/basetsd.h b/include/basetsd.h
index 7fba324..440112a 100644
--- a/include/basetsd.h
+++ b/include/basetsd.h
@@ -233,6 +233,11 @@ typedef unsigned short UHALF_PTR, *PUHALF_PTR;
#endif /* defined(_WIN64) || defined(_WIN32) */
+#define HandleToUlong(h) HandleToULong(h)
+#define UlongToHandle(ul) ULongToHandle(ul)
+#define UintToPtr(ui) UIntToPtr(ui)
+#define UlongToPtr(ul) ULongToPtr(ul)
+
typedef LONG_PTR SSIZE_T, *PSSIZE_T;
typedef ULONG_PTR SIZE_T, *PSIZE_T;
More information about the wine-cvs
mailing list