## Uses of Class
com.sun.jna.platform.win32.WinReg.HKEY

Packages that use WinReg.HKEY
com.sun.jna.platform.win32

Uses of WinReg.HKEY in com.sun.jna.platform.win32

Fields in com.sun.jna.platform.win32 declared as WinReg.HKEY
`static WinReg.HKEY` `WinReg.HKEY_CLASSES_ROOT`
`static WinReg.HKEY` `WinReg.HKEY_CURRENT_CONFIG`
`static WinReg.HKEY` `WinReg.HKEY_CURRENT_USER`
`static WinReg.HKEY` `WinReg.HKEY_DYN_DATA`
`static WinReg.HKEY` `WinReg.HKEY_LOCAL_MACHINE`
`static WinReg.HKEY` `WinReg.HKEY_PERFORMANCE_DATA`
`static WinReg.HKEY` `WinReg.HKEY_PERFORMANCE_NLSTEXT`
`static WinReg.HKEY` `WinReg.HKEY_PERFORMANCE_TEXT`
`static WinReg.HKEY` `WinReg.HKEY_USERS`

Methods in com.sun.jna.platform.win32 that return WinReg.HKEY
`WinReg.HKEY` `WinReg.HKEYByReference.getValue()`

Methods in com.sun.jna.platform.win32 with parameters of type WinReg.HKEY
`static java.lang.String` `NtDllUtil.getKeyName(WinReg.HKEY hkey)` Retrieve the name of an opened registry key.
`int` `Advapi32.RegCloseKey(WinReg.HKEY hKey)` The RegCloseKey function releases a handle to the specified registry key.
`int` `Advapi32.RegCreateKeyEx(WinReg.HKEY hKey, java.lang.String lpSubKey, int Reserved, java.lang.String lpClass, int dwOptions, int samDesired, WinNT.SECURITY_ATTRIBUTES lpSecurityAttributes, WinReg.HKEYByReference phkResult, com.sun.jna.ptr.IntByReference lpdwDisposition)`
`int` `Advapi32.RegDeleteKey(WinReg.HKEY hKey, java.lang.String name)`
`int` `Advapi32.RegDeleteValue(WinReg.HKEY hKey, java.lang.String lpValueName)` The RegDeleteValue function removes a named value from the specified registry key.
`int` `Advapi32.RegEnumKeyEx(WinReg.HKEY hKey, int dwIndex, char[] lpName, com.sun.jna.ptr.IntByReference lpcName, com.sun.jna.ptr.IntByReference reserved, char[] lpClass, com.sun.jna.ptr.IntByReference lpcClass, WinBase.FILETIME lpftLastWriteTime)` The RegEnumKeyEx function enumerates subkeys of the specified open registry key.
`int` `Advapi32.RegEnumValue(WinReg.HKEY hKey, int dwIndex, char[] lpValueName, com.sun.jna.ptr.IntByReference lpcchValueName, com.sun.jna.ptr.IntByReference reserved, com.sun.jna.ptr.IntByReference lpType, byte[] lpData, com.sun.jna.ptr.IntByReference lpcbData)` The RegEnumValue function enumerates the values for the specified open registry key.
`static void` `Advapi32Util.registryCreateKey(WinReg.HKEY hKey, java.lang.String keyName)` Create a registry key.
`static void` `Advapi32Util.registryCreateKey(WinReg.HKEY root, java.lang.String parentPath, java.lang.String keyName)` Create a registry key.
`static void` `Advapi32Util.registryDeleteKey(WinReg.HKEY hKey, java.lang.String keyName)` Delete a registry key.
`static void` `Advapi32Util.registryDeleteKey(WinReg.HKEY root, java.lang.String keyPath, java.lang.String keyName)` Delete a registry key.
`static void` `Advapi32Util.registryDeleteValue(WinReg.HKEY hKey, java.lang.String valueName)` Delete a registry value.
`static void` `Advapi32Util.registryDeleteValue(WinReg.HKEY root, java.lang.String keyPath, java.lang.String valueName)` Delete a registry value.
`static int` `Advapi32Util.registryGetIntValue(WinReg.HKEY root, java.lang.String key, java.lang.String value)` Get a registry DWORD value.
`static java.lang.String[]` `Advapi32Util.registryGetKeys(WinReg.HKEY hKey)` Get names of the registry key's sub-keys.
`static java.lang.String[]` `Advapi32Util.registryGetKeys(WinReg.HKEY root, java.lang.String keyPath)` Get names of the registry key's sub-keys.
`static java.lang.String` `Advapi32Util.registryGetStringValue(WinReg.HKEY root, java.lang.String key, java.lang.String value)` Get a registry REG_SZ value.
`static java.util.TreeMap<java.lang.String,java.lang.Object>` `Advapi32Util.registryGetValues(WinReg.HKEY hKey)` Get a table of registry values.
`static java.util.TreeMap<java.lang.String,java.lang.Object>` `Advapi32Util.registryGetValues(WinReg.HKEY root, java.lang.String keyPath)` Get a table of registry values.
`static boolean` `Advapi32Util.registryKeyExists(WinReg.HKEY root, java.lang.String key)` Checks whether a registry key exists.
`static void` `Advapi32Util.registrySetIntValue(WinReg.HKEY hKey, java.lang.String name, int value)` Set an integer value in registry.
`static void` `Advapi32Util.registrySetIntValue(WinReg.HKEY root, java.lang.String keyPath, java.lang.String name, int value)` Set an integer value in registry.
`static void` `Advapi32Util.registrySetStringValue(WinReg.HKEY hKey, java.lang.String name, java.lang.String value)` Set a string value in registry.
`static void` `Advapi32Util.registrySetStringValue(WinReg.HKEY root, java.lang.String keyPath, java.lang.String name, java.lang.String value)` Set a string value in registry.
`static boolean` `Advapi32Util.registryValueExists(WinReg.HKEY root, java.lang.String key, java.lang.String value)` Checks whether a registry value exists.
`int` `Advapi32.RegOpenKeyEx(WinReg.HKEY hKey, java.lang.String lpSubKey, int ulOptions, int samDesired, WinReg.HKEYByReference phkResult)` The RegOpenKeyEx function opens the specified registry key.

`int`

`Advapi32.RegQueryInfoKey(WinReg.HKEY hKey, char[] lpClass, com.sun.jna.ptr.IntByReference lpcClass, com.sun.jna.ptr.IntByReference lpReserved, com.sun.jna.ptr.IntByReference lpcSubKeys, com.sun.jna.ptr.IntByReference lpcMaxSubKeyLen, com.sun.jna.ptr.IntByReference lpcMaxClassLen, com.sun.jna.ptr.IntByReference lpcValues, com.sun.jna.ptr.IntByReference lpcMaxValueNameLen, com.sun.jna.ptr.IntByReference lpcMaxValueLen, com.sun.jna.ptr.IntByReference lpcbSecurityDescriptor, WinBase.FILETIME lpftLastWriteTime)`
The RegQueryInfoKey function retrieves information about the specified registry key.

`int` `Advapi32.RegQueryValueEx(WinReg.HKEY hKey, java.lang.String lpValueName, int lpReserved, com.sun.jna.ptr.IntByReference lpType, byte[] lpData, com.sun.jna.ptr.IntByReference lpcbData)`
`int` `Advapi32.RegQueryValueEx(WinReg.HKEY hKey, java.lang.String lpValueName, int lpReserved, com.sun.jna.ptr.IntByReference lpType, char[] lpData, com.sun.jna.ptr.IntByReference lpcbData)` The RegQueryValueEx function retrieves the type and data for a specified value name associated with an open registry key.
`int` `Advapi32.RegQueryValueEx(WinReg.HKEY hKey, java.lang.String lpValueName, int lpReserved, com.sun.jna.ptr.IntByReference lpType, com.sun.jna.ptr.IntByReference lpData, com.sun.jna.ptr.IntByReference lpcbData)`
`int` `Advapi32.RegSetValueEx(WinReg.HKEY hKey, java.lang.String lpValueName, int Reserved, int dwType, byte[] lpData, int cbData)`
`int` `Advapi32.RegSetValueEx(WinReg.HKEY hKey, java.lang.String lpValueName, int Reserved, int dwType, char[] lpData, int cbData)` The RegSetValueEx function sets the data and type of a specified value under a registry key.
`void` `WinReg.HKEYByReference.setValue(WinReg.HKEY h)`

Constructors in com.sun.jna.platform.win32 with parameters of type WinReg.HKEY
`WinReg.HKEYByReference(WinReg.HKEY h)`