[PSDK] Add missing DI_WRITEPROTECT and DIPROP_PRODUCTNAME.
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 17 Nov 2016 21:56:53 +0000 (21:56 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 17 Nov 2016 21:56:53 +0000 (21:56 +0000)
svn path=/trunk/; revision=73251

reactos/sdk/include/psdk/dinput.h

index fc9ebf2..d1d7180 100644 (file)
@@ -136,6 +136,7 @@ DECL_WINELIB_TYPE_AW(LPDIRECTINPUTDEVICE8)
 #define DI_TRUNCATED                    ((HRESULT)0x00000008)
 #define DI_SETTINGSNOTSAVED             ((HRESULT)0x0000000B)
 #define DI_TRUNCATEDANDRESTARTED        ((HRESULT)0x0000000C)
+#define DI_WRITEPROTECT                 ((HRESULT)0x00000013)
 
 #define DIERR_OLDDIRECTINPUTVERSION     \
     MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_OLD_WIN_VERSION)
@@ -907,6 +908,7 @@ typedef const DIPROPSTRING *LPCDIPROPSTRING;
 #define DIPROP_GUIDANDPATH     MAKEDIPROP(12)
 
 #define DIPROP_INSTANCENAME     MAKEDIPROP(13)
+#define DIPROP_PRODUCTNAME      MAKEDIPROP(14)
 #define DIPROP_JOYSTICKID       MAKEDIPROP(15)
 #define DIPROP_KEYNAME          MAKEDIPROP(20)
 #define DIPROP_VIDPID           MAKEDIPROP(24)