Rob Shearman : include: Define DD_OK to S_OK instead of 0.

Alexandre Julliard julliard at winehq.org
Wed Oct 1 14:09:40 CDT 2008


Module: wine
Branch: master
Commit: fd4a8941032458a9b2870d0068e6fb020a9c9e0c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fd4a8941032458a9b2870d0068e6fb020a9c9e0c

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Wed Oct  1 11:19:53 2008 +0100

include: Define DD_OK to S_OK instead of 0.

Add define for DD_FALSE.

---

 include/ddraw.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/ddraw.h b/include/ddraw.h
index 96246e3..f7d1d37 100644
--- a/include/ddraw.h
+++ b/include/ddraw.h
@@ -72,7 +72,8 @@ typedef struct IDirectDrawGammaControl *LPDIRECTDRAWGAMMACONTROL;
 #define DDENUMRET_CANCEL	0
 #define DDENUMRET_OK		1
 
-#define DD_OK			0
+#define DD_OK			S_OK
+#define DD_FALSE		S_FALSE
 
 
 #define _FACDD		0x876




More information about the wine-cvs mailing list