mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
- add missing constants required for dxdiag
svn path=/trunk/; revision=33119
This commit is contained in:
parent
8388a8705e
commit
468e944166
|
@ -718,6 +718,12 @@ typedef struct DIPROPGUIDANDPATH {
|
||||||
} DIPROPGUIDANDPATH, *LPDIPROPGUIDANDPATH;
|
} DIPROPGUIDANDPATH, *LPDIPROPGUIDANDPATH;
|
||||||
typedef const DIPROPGUIDANDPATH *LPCDIPROPGUIDANDPATH;
|
typedef const DIPROPGUIDANDPATH *LPCDIPROPGUIDANDPATH;
|
||||||
|
|
||||||
|
typedef struct DIPROPSTRING {
|
||||||
|
DIPROPHEADER diph;
|
||||||
|
WCHAR wsz[MAX_PATH];
|
||||||
|
} DIPROPSTRING, *LPDIPROPSTRING;
|
||||||
|
typedef const DIPROPSTRING *LPCDIPROPSTRING;
|
||||||
|
|
||||||
/* special property GUIDs */
|
/* special property GUIDs */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define MAKEDIPROP(prop) (*(const GUID *)(prop))
|
#define MAKEDIPROP(prop) (*(const GUID *)(prop))
|
||||||
|
@ -746,8 +752,33 @@ typedef const DIPROPGUIDANDPATH *LPCDIPROPGUIDANDPATH;
|
||||||
#define DIPROPCALIBRATIONMODE_COOKED 0
|
#define DIPROPCALIBRATIONMODE_COOKED 0
|
||||||
#define DIPROPCALIBRATIONMODE_RAW 1
|
#define DIPROPCALIBRATIONMODE_RAW 1
|
||||||
|
|
||||||
|
#if DIRECTINPUT_VERSION >= 0x050a
|
||||||
#define DIPROP_CALIBRATION MAKEDIPROP(11)
|
#define DIPROP_CALIBRATION MAKEDIPROP(11)
|
||||||
#define DIPROP_GUIDANDPATH MAKEDIPROP(12)
|
#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 {
|
typedef struct DIDEVCAPS_DX3 {
|
||||||
DWORD dwSize;
|
DWORD dwSize;
|
||||||
|
|
Loading…
Reference in a new issue