Skip to content

Commit

Permalink
HKEY_CURRENT_USER_LOCAL_SETTINGS should be supported
Browse files Browse the repository at this point in the history
Starting with Windows 7, Windows added the additional HKEY constant HKEY_CURRENT_USER_LOCAL_SETTINGS (see predefined-key) whose underlying integral value has the value 0x80000007 (Source: Visual Studio 2017, header <winreg.h>. This constant is currently missing in the existing set of HKEY_* constants in com.sun.jna.platform.win32.WinReg. This adds the new static field HKEY_CURRENT_USER_LOCAL_SETTINGS to the set of the other HKEY constants in WinReg.
  • Loading branch information
Dani-Hub authored and dbwiddis committed Apr 18, 2021
1 parent a0641dd commit 4b4df23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Next Release (5.9.0)

Features
--------
* [#1336](https://github.com/java-native-access/jna/pull/1336): Add `HKEY_CURRENT_USER_LOCAL_SETTINGS` to `c.s.j.p.win32.WinReg` - [@Dani-Hub](https://github.com/Dani-Hub).

Bug Fixes
---------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ public HKEY getValue() {
HKEY HKEY_PERFORMANCE_NLSTEXT = new HKEY(0x80000060);
HKEY HKEY_CURRENT_CONFIG = new HKEY(0x80000005);
HKEY HKEY_DYN_DATA = new HKEY(0x80000006);
HKEY HKEY_CURRENT_USER_LOCAL_SETTINGS = new HKEY(0x80000007);
}

0 comments on commit 4b4df23

Please sign in to comment.