Henri Verbeet : include: Add some missing DDLOCK constants.
Alexandre Julliard
julliard at winehq.org
Fri Jan 13 11:44:29 CST 2012
Module: wine
Branch: master
Commit: e1f6a81a2d870e01fb66a971bfab1758c646bccf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1f6a81a2d870e01fb66a971bfab1758c646bccf
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Jan 12 21:43:10 2012 +0100
include: Add some missing DDLOCK constants.
---
include/ddraw.h | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/include/ddraw.h b/include/ddraw.h
index 5b1c621..5feddf4 100644
--- a/include/ddraw.h
+++ b/include/ddraw.h
@@ -1397,14 +1397,18 @@ DECLARE_INTERFACE_(IDirectDraw,IUnknown)
/* flags for Lock() */
-#define DDLOCK_SURFACEMEMORYPTR 0x00000000
-#define DDLOCK_WAIT 0x00000001
-#define DDLOCK_EVENT 0x00000002
-#define DDLOCK_READONLY 0x00000010
-#define DDLOCK_WRITEONLY 0x00000020
-#define DDLOCK_NOSYSLOCK 0x00000800
-#define DDLOCK_NOOVERWRITE 0x00001000
-#define DDLOCK_DISCARDCONTENTS 0x00002000
+#define DDLOCK_SURFACEMEMORYPTR __MSABI_LONG(0x00000000)
+#define DDLOCK_WAIT __MSABI_LONG(0x00000001)
+#define DDLOCK_EVENT __MSABI_LONG(0x00000002)
+#define DDLOCK_READONLY __MSABI_LONG(0x00000010)
+#define DDLOCK_WRITEONLY __MSABI_LONG(0x00000020)
+#define DDLOCK_NOSYSLOCK __MSABI_LONG(0x00000800)
+#define DDLOCK_NOOVERWRITE __MSABI_LONG(0x00001000)
+#define DDLOCK_DISCARDCONTENTS __MSABI_LONG(0x00002000)
+#define DDLOCK_OKTOSWAP __MSABI_LONG(0x00002000)
+#define DDLOCK_DONOTWAIT __MSABI_LONG(0x00004000)
+#define DDLOCK_HASVOLUMETEXTUREBOXRECT __MSABI_LONG(0x00008000)
+#define DDLOCK_NODIRTYUPDATE __MSABI_LONG(0x00010000)
/*****************************************************************************
More information about the wine-cvs
mailing list