Jesse Allen : dinput: Add DISEQUENCE_COMPARE macro.
Alexandre Julliard
julliard at winehq.org
Mon Aug 24 10:09:11 CDT 2009
Module: wine
Branch: master
Commit: a0449a5f64934f6cadd274f6c9442dd72a87b1e8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a0449a5f64934f6cadd274f6c9442dd72a87b1e8
Author: Jesse Allen <the3dfxdude at gmail.com>
Date: Sun Aug 23 15:07:38 2009 -0600
dinput: Add DISEQUENCE_COMPARE macro.
---
include/dinput.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/dinput.h b/include/dinput.h
index 05640bd..8c557eb 100644
--- a/include/dinput.h
+++ b/include/dinput.h
@@ -634,6 +634,8 @@ typedef BOOL (CALLBACK *LPDIENUMCREATEDEFFECTOBJECTSCALLBACK)(LPDIRECTINPUTEFFEC
#define DIGDD_PEEK 0x00000001
+#define DISEQUENCE_COMPARE(dwSq1,cmp,dwSq2) ((int)((dwSq1) - (dwSq2)) cmp 0)
+
typedef struct DIDEVICEOBJECTDATA_DX3 {
DWORD dwOfs;
DWORD dwData;
More information about the wine-cvs
mailing list