public class Registry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Registry.FILETIME |
static class |
Registry.QUERY_INFO |
| Modifier and Type | Field and Description |
|---|---|
static int |
REG_BINARY |
static int |
REG_DWORD |
static int |
REG_DWORD_BIG_ENDIAN |
static int |
REG_DWORD_LITTLE_ENDIAN |
static int |
REG_EXPAND_SZ |
static int |
REG_FULL_RESOURCE_DESCRIPTOR |
static int |
REG_LINK |
static int |
REG_MULTI_SZ |
static int |
REG_NONE |
static int |
REG_QWORD |
static int |
REG_QWORD_LITTLE_ENDIAN |
static int |
REG_RESOURCE_LIST |
static int |
REG_RESOURCE_REQUIREMENTS_LIST |
static int |
REG_SZ |
| Constructor and Description |
|---|
Registry() |
| Modifier and Type | Method and Description |
|---|---|
static int |
closeKey(long hKey) |
static int |
createKey(long hKey,
String lpSubKey,
PInvoke.UIntPtr phkResult) |
static long |
deleteKey(long hKey,
String subKey) |
static long |
deleteValue(long hKey,
String valueName) |
static int |
enumKeyEx(long hkey,
int index,
StringBuilder lpName,
PInvoke.UIntPtr lpcbName,
long reserved,
long lpClass,
long lpcbClass,
Registry.FILETIME lpftLastWriteTime) |
static int |
enumValue(long hKey,
int index,
StringBuilder lpValueName,
PInvoke.UIntPtr lpcValueName,
long lpReserved,
PInvoke.UIntPtr lpType,
PInvoke.ByteArrayBuilder lpData,
PInvoke.IntPtr lpcbData) |
static int |
openKeyEx(long hKey,
String subKey,
int options,
long samDesired,
PInvoke.UIntPtr phkResult) |
static Registry.QUERY_INFO |
queryInfoKey(long hKey) |
static int |
queryInfoKey(long hKey,
StringBuilder lpClass,
PInvoke.UIntPtr lpcClass,
long lpReserved,
PInvoke.UIntPtr lpcSubKeys,
PInvoke.UIntPtr lpcMaxSubKeyLen,
PInvoke.UIntPtr lpcMaxClassLen,
PInvoke.UIntPtr lpcValues,
PInvoke.UIntPtr lpcMaxValueNameLen,
PInvoke.UIntPtr lpcMaxValueLen,
PInvoke.UIntPtr lpcbSecurityDescriptor,
Registry.FILETIME lpftLastWriteTime) |
static byte[] |
queryValueEx(long hKey,
String valueName,
int maxLen) |
static int |
queryValueEx(long hKey,
String valueName,
long reserved,
PInvoke.UIntPtr lpType,
PInvoke.ByteArrayBuilder lpData,
PInvoke.UIntPtr lpcbData) |
static int |
queryValueEx(long hKey,
String valueName,
long reserved,
PInvoke.UIntPtr lpType,
StringBuilder lpString,
PInvoke.UIntPtr lpcbData) |
static long |
setValueEx(long hKey,
String valueName,
int reserved,
int type,
byte[] data,
int len) |
public static final int REG_NONE
public static final int REG_SZ
public static final int REG_EXPAND_SZ
public static final int REG_BINARY
public static final int REG_DWORD
public static final int REG_DWORD_LITTLE_ENDIAN
public static final int REG_DWORD_BIG_ENDIAN
public static final int REG_LINK
public static final int REG_MULTI_SZ
public static final int REG_RESOURCE_LIST
public static final int REG_FULL_RESOURCE_DESCRIPTOR
public static final int REG_RESOURCE_REQUIREMENTS_LIST
public static final int REG_QWORD
public static final int REG_QWORD_LITTLE_ENDIAN
public static int closeKey(long hKey)
public static int createKey(long hKey,
String lpSubKey,
PInvoke.UIntPtr phkResult)
public static long deleteKey(long hKey,
String subKey)
public static long deleteValue(long hKey,
String valueName)
public static int openKeyEx(long hKey,
String subKey,
int options,
long samDesired,
PInvoke.UIntPtr phkResult)
public static int enumKeyEx(long hkey,
int index,
StringBuilder lpName,
PInvoke.UIntPtr lpcbName,
long reserved,
long lpClass,
long lpcbClass,
Registry.FILETIME lpftLastWriteTime)
public static int enumValue(long hKey,
int index,
StringBuilder lpValueName,
PInvoke.UIntPtr lpcValueName,
long lpReserved,
PInvoke.UIntPtr lpType,
PInvoke.ByteArrayBuilder lpData,
PInvoke.IntPtr lpcbData)
public static byte[] queryValueEx(long hKey,
String valueName,
int maxLen)
public static int queryValueEx(long hKey,
String valueName,
long reserved,
PInvoke.UIntPtr lpType,
PInvoke.ByteArrayBuilder lpData,
PInvoke.UIntPtr lpcbData)
public static int queryValueEx(long hKey,
String valueName,
long reserved,
PInvoke.UIntPtr lpType,
StringBuilder lpString,
PInvoke.UIntPtr lpcbData)
public static int queryInfoKey(long hKey,
StringBuilder lpClass,
PInvoke.UIntPtr lpcClass,
long lpReserved,
PInvoke.UIntPtr lpcSubKeys,
PInvoke.UIntPtr lpcMaxSubKeyLen,
PInvoke.UIntPtr lpcMaxClassLen,
PInvoke.UIntPtr lpcValues,
PInvoke.UIntPtr lpcMaxValueNameLen,
PInvoke.UIntPtr lpcMaxValueLen,
PInvoke.UIntPtr lpcbSecurityDescriptor,
Registry.FILETIME lpftLastWriteTime)
public static Registry.QUERY_INFO queryInfoKey(long hKey)
public static long setValueEx(long hKey,
String valueName,
int reserved,
int type,
byte[] data,
int len)
Copyright © 2018. All rights reserved.