Author: janderwald
Date: Tue Apr 22 17:52:44 2008
New Revision: 33119
URL:
http://svn.reactos.org/svn/reactos?rev=33119&view=rev
Log:
- add missing constants required for dxdiag
Modified:
trunk/reactos/include/psdk/dinput.h
Modified: trunk/reactos/include/psdk/dinput.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/dinput.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/dinput.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/dinput.h [iso-8859-1] Tue Apr 22 17:52:44 2008
@@ -718,6 +718,12 @@
} DIPROPGUIDANDPATH, *LPDIPROPGUIDANDPATH;
typedef const DIPROPGUIDANDPATH *LPCDIPROPGUIDANDPATH;
+typedef struct DIPROPSTRING {
+ DIPROPHEADER diph;
+ WCHAR wsz[MAX_PATH];
+} DIPROPSTRING, *LPDIPROPSTRING;
+typedef const DIPROPSTRING *LPCDIPROPSTRING;
+
/* special property GUIDs */
#ifdef __cplusplus
#define MAKEDIPROP(prop) (*(const GUID *)(prop))
@@ -746,8 +752,33 @@
#define DIPROPCALIBRATIONMODE_COOKED 0
#define DIPROPCALIBRATIONMODE_RAW 1
+#if DIRECTINPUT_VERSION >= 0x050a
#define DIPROP_CALIBRATION MAKEDIPROP(11)
#define DIPROP_GUIDANDPATH MAKEDIPROP(12)
+#define DIPROP_INSTANCENAME MAKEDIPROP(13)
+#define DIPROP_PRODUCTNAME MAKEDIPROP(14)
+#endif
+
+#if DIRECTINPUT_VERSION >= 0x5B2
+#define DIPROP_JOYSTICKID MAKEDIPROP(15)
+#define DIPROP_GETPORTDISPLAYNAME MAKEDIPROP(16)
+#endif
+
+#if DIRECTINPUT_VERSION >= 0x0700
+#define DIPROP_PHYSICALRANGE MAKEDIPROP(18)
+#define DIPROP_LOGICALRANGE MAKEDIPROP(19)
+#endif
+
+#if(DIRECTINPUT_VERSION >= 0x0800)
+#define DIPROP_KEYNAME MAKEDIPROP(20)
+#define DIPROP_CPOINTS MAKEDIPROP(21)
+#define DIPROP_APPDATA MAKEDIPROP(22)
+#define DIPROP_SCANCODE MAKEDIPROP(23)
+#define DIPROP_VIDPID MAKEDIPROP(24)
+#define DIPROP_USERNAME MAKEDIPROP(25)
+#define DIPROP_TYPENAME MAKEDIPROP(26)
+#endif
+
typedef struct DIDEVCAPS_DX3 {
DWORD dwSize;