From e1f6a81a2d870e01fb66a971bfab1758c646bccf Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 12 Jan 2012 21:43:10 +0100 Subject: [PATCH] include: Add some missing DDLOCK constants. --- include/ddraw.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/include/ddraw.h b/include/ddraw.h index 5b1c621c94c..5feddf4fe15 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) /*****************************************************************************