Author: akhaldi
Date: Sun Sep 24 11:32:16 2017
New Revision: 75957
URL:
http://svn.reactos.org/svn/reactos?rev=75957&view=rev
Log:
[PSDK] Update winreg.h. CORE-13762
Modified:
trunk/reactos/sdk/include/psdk/winreg.h
Modified: trunk/reactos/sdk/include/psdk/winreg.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/winreg.h?…
==============================================================================
--- trunk/reactos/sdk/include/psdk/winreg.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/winreg.h [iso-8859-1] Sun Sep 24 11:32:16 2017
@@ -7,13 +7,16 @@
#include <reason.h>
-#define HKEY_CLASSES_ROOT ((HKEY)0x80000000)
-#define HKEY_CURRENT_USER ((HKEY)0x80000001)
-#define HKEY_LOCAL_MACHINE ((HKEY)0x80000002)
-#define HKEY_USERS ((HKEY)0x80000003)
-#define HKEY_PERFORMANCE_DATA ((HKEY)0x80000004)
-#define HKEY_CURRENT_CONFIG ((HKEY)0x80000005)
-#define HKEY_DYN_DATA ((HKEY)0x80000006)
+#define HKEY_CLASSES_ROOT ((HKEY)(LONG_PTR)(LONG)0x80000000)
+#define HKEY_CURRENT_USER ((HKEY)(LONG_PTR)(LONG)0x80000001)
+#define HKEY_LOCAL_MACHINE ((HKEY)(LONG_PTR)(LONG)0x80000002)
+#define HKEY_USERS ((HKEY)(LONG_PTR)(LONG)0x80000003)
+#define HKEY_PERFORMANCE_DATA ((HKEY)(LONG_PTR)(LONG)0x80000004)
+#define HKEY_CURRENT_CONFIG ((HKEY)(LONG_PTR)(LONG)0x80000005)
+#define HKEY_DYN_DATA ((HKEY)(LONG_PTR)(LONG)0x80000006)
+#define HKEY_PERFORMANCE_TEXT ((HKEY)(LONG_PTR)(LONG)0x80000050)
+#define HKEY_PERFORMANCE_NLSTEXT ((HKEY)(LONG_PTR)(LONG)0x80000060)
+
#define REG_OPTION_VOLATILE 1
#define REG_OPTION_NON_VOLATILE 0
#define REG_CREATED_NEW_KEY 1