FreeRDP
registry.h File Reference
#include <winpr/windows.h>
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <winpr/nt.h>
#include <winpr/io.h>
#include <winpr/error.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  PVALCONTEXT
 
struct  PPVALUEA
 
struct  PPVALUEW
 
struct  PVALENTA
 
struct  PVALENTW
 

Macros

#define OWNER_SECURITY_INFORMATION   0x00000001
 
#define GROUP_SECURITY_INFORMATION   0x00000002
 
#define DACL_SECURITY_INFORMATION   0x00000004
 
#define SACL_SECURITY_INFORMATION   0x00000008
 
#define REG_OPTION_RESERVED   0x00000000
 
#define REG_OPTION_NON_VOLATILE   0x00000000
 
#define REG_OPTION_VOLATILE   0x00000001
 
#define REG_OPTION_CREATE_LINK   0x00000002
 
#define REG_OPTION_BACKUP_RESTORE   0x00000004
 
#define REG_OPTION_OPEN_LINK   0x00000008
 
#define REG_CREATED_NEW_KEY   0x00000001
 
#define REG_OPENED_EXISTING_KEY   0x00000002
 
#define REG_NOTIFY_CHANGE_NAME   0x01
 
#define REG_NOTIFY_CHANGE_ATTRIBUTES   0x02
 
#define REG_NOTIFY_CHANGE_LAST_SET   0x04
 
#define REG_NOTIFY_CHANGE_SECURITY   0x08
 
#define KEY_QUERY_VALUE   0x00000001
 
#define KEY_SET_VALUE   0x00000002
 
#define KEY_CREATE_SUB_KEY   0x00000004
 
#define KEY_ENUMERATE_SUB_KEYS   0x00000008
 
#define KEY_NOTIFY   0x00000010
 
#define KEY_CREATE_LINK   0x00000020
 
#define KEY_WOW64_64KEY   0x00000100
 
#define KEY_WOW64_32KEY   0x00000200
 
#define KEY_WOW64_RES   0x00000300
 
#define REG_WHOLE_HIVE_VOLATILE   0x00000001
 
#define REG_REFRESH_HIVE   0x00000002
 
#define REG_NO_LAZY_FLUSH   0x00000004
 
#define REG_FORCE_RESTORE   0x00000008
 
#define KEY_READ
 
#define KEY_WRITE   ((STANDARD_RIGHTS_WRITE | KEY_SET_VALUE | KEY_CREATE_SUB_KEY) & (~SYNCHRONIZE))
 
#define KEY_EXECUTE   ((KEY_READ) & (~SYNCHRONIZE))
 
#define KEY_ALL_ACCESS
 
#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_PERFORMANCE_TEXT   ((HKEY)(LONG_PTR)(LONG)0x80000050)
 
#define HKEY_PERFORMANCE_NLSTEXT   ((HKEY)(LONG_PTR)(LONG)0x80000060)
 
#define HKEY_CURRENT_CONFIG   ((HKEY)(LONG_PTR)(LONG)0x80000005)
 
#define HKEY_DYN_DATA   ((HKEY)(LONG_PTR)(LONG)0x80000006)
 
#define HKEY_CURRENT_USER_LOCAL_SETTINGS   ((HKEY)(LONG_PTR)(LONG)0x80000007)
 
#define RRF_RT_REG_NONE   0x00000001
 
#define RRF_RT_REG_SZ   0x00000002
 
#define RRF_RT_REG_EXPAND_SZ   0x00000004
 
#define RRF_RT_REG_BINARY   0x00000008
 
#define RRF_RT_REG_DWORD   0x00000010
 
#define RRF_RT_REG_MULTI_SZ   0x00000020
 
#define RRF_RT_REG_QWORD   0x00000040
 
#define RRF_RT_DWORD   (RRF_RT_REG_BINARY | RRF_RT_REG_DWORD)
 
#define RRF_RT_QWORD   (RRF_RT_REG_BINARY | RRF_RT_REG_QWORD)
 
#define RRF_RT_ANY   0x0000FFFF
 
#define RRF_NOEXPAND   0x10000000
 
#define RRF_ZEROONFAILURE   0x20000000
 
#define RegCopyTree   RegCopyTreeA
 
#define RegCreateKeyEx   RegCreateKeyExA
 
#define RegDeleteKeyEx   RegDeleteKeyExA
 
#define RegDeleteTree   RegDeleteTreeA
 
#define RegDeleteValue   RegDeleteValueA
 
#define RegEnumKeyEx   RegEnumKeyExA
 
#define RegEnumValue   RegEnumValueA
 
#define RegGetValue   RegGetValueA
 
#define RegLoadAppKey   RegLoadAppKeyA
 
#define RegLoadKey   RegLoadKeyA
 
#define RegLoadMUIString   RegLoadMUIStringA
 
#define RegOpenKeyEx   RegOpenKeyExA
 
#define RegQueryInfoKey   RegQueryInfoKeyA
 
#define RegQueryValueEx   RegQueryValueExA
 
#define RegRestoreKey   RegRestoreKeyA
 
#define RegSaveKeyEx   RegSaveKeyExA
 
#define RegSetValueEx   RegSetValueExA
 
#define RegUnLoadKey   RegUnLoadKeyA
 

Typedefs

typedef HANDLE HKEY
 
typedef HANDLE * PHKEY
 
typedef ACCESS_MASK REGSAM
 
typedef PVALUEA PVALUE
 
typedef PPVALUEA PPVALUE
 
typedef VALENTA VALENT
 
typedef PVALENTA PVALENT
 

Enumerations

enum  eRegTypes {
  REG_NONE = 0 , REG_SZ = 1 , REG_EXPAND_SZ = 2 , REG_BINARY = 3 ,
  REG_DWORD = 4 , REG_DWORD_LITTLE_ENDIAN = REG_DWORD , REG_DWORD_BIG_ENDIAN = 5 , REG_LINK = 6 ,
  REG_MULTI_SZ = 7 , REG_RESOURCE_LIST = 8 , REG_FULL_RESOURCE_DESCRIPTOR = 9 , REG_RESOURCE_REQUIREMENTS_LIST = 10 ,
  REG_QWORD = 11 , REG_QWORD_LITTLE_ENDIAN = REG_QWORD
}
 

Functions

WINPR_API LONG RegCloseKey (HKEY hKey)
 
WINPR_API LONG RegCopyTreeW (HKEY hKeySrc, LPCWSTR lpSubKey, HKEY hKeyDest)
 
WINPR_API LONG RegCopyTreeA (HKEY hKeySrc, LPCSTR lpSubKey, HKEY hKeyDest)
 
WINPR_API LONG RegCreateKeyExW (HKEY hKey, LPCWSTR lpSubKey, DWORD Reserved, LPWSTR lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition)
 
WINPR_API LONG RegCreateKeyExA (HKEY hKey, LPCSTR lpSubKey, DWORD Reserved, LPSTR lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition)
 
WINPR_API LONG RegDeleteKeyExW (HKEY hKey, LPCWSTR lpSubKey, REGSAM samDesired, DWORD Reserved)
 
WINPR_API LONG RegDeleteKeyExA (HKEY hKey, LPCSTR lpSubKey, REGSAM samDesired, DWORD Reserved)
 
WINPR_API LONG RegDeleteTreeW (HKEY hKey, LPCWSTR lpSubKey)
 
WINPR_API LONG RegDeleteTreeA (HKEY hKey, LPCSTR lpSubKey)
 
WINPR_API LONG RegDeleteValueW (HKEY hKey, LPCWSTR lpValueName)
 
WINPR_API LONG RegDeleteValueA (HKEY hKey, LPCSTR lpValueName)
 
WINPR_API LONG RegDisablePredefinedCacheEx (void)
 
WINPR_API LONG RegEnumKeyExW (HKEY hKey, DWORD dwIndex, LPWSTR lpName, LPDWORD lpcName, LPDWORD lpReserved, LPWSTR lpClass, LPDWORD lpcClass, PFILETIME lpftLastWriteTime)
 
WINPR_API LONG RegEnumKeyExA (HKEY hKey, DWORD dwIndex, LPSTR lpName, LPDWORD lpcName, LPDWORD lpReserved, LPSTR lpClass, LPDWORD lpcClass, PFILETIME lpftLastWriteTime)
 
WINPR_API LONG RegEnumValueW (HKEY hKey, DWORD dwIndex, LPWSTR lpValueName, LPDWORD lpcchValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)
 
WINPR_API LONG RegEnumValueA (HKEY hKey, DWORD dwIndex, LPSTR lpValueName, LPDWORD lpcchValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)
 
WINPR_API LONG RegFlushKey (HKEY hKey)
 
WINPR_API LONG RegGetKeySecurity (HKEY hKey, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, LPDWORD lpcbSecurityDescriptor)
 
WINPR_API LONG RegGetValueW (HKEY hkey, LPCWSTR lpSubKey, LPCWSTR lpValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData)
 
WINPR_API LONG RegGetValueA (HKEY hkey, LPCSTR lpSubKey, LPCSTR lpValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData)
 
WINPR_API LONG RegLoadAppKeyW (LPCWSTR lpFile, PHKEY phkResult, REGSAM samDesired, DWORD dwOptions, DWORD Reserved)
 
WINPR_API LONG RegLoadAppKeyA (LPCSTR lpFile, PHKEY phkResult, REGSAM samDesired, DWORD dwOptions, DWORD Reserved)
 
WINPR_API LONG RegLoadKeyW (HKEY hKey, LPCWSTR lpSubKey, LPCWSTR lpFile)
 
WINPR_API LONG RegLoadKeyA (HKEY hKey, LPCSTR lpSubKey, LPCSTR lpFile)
 
WINPR_API LONG RegLoadMUIStringW (HKEY hKey, LPCWSTR pszValue, LPWSTR pszOutBuf, DWORD cbOutBuf, LPDWORD pcbData, DWORD Flags, LPCWSTR pszDirectory)
 
WINPR_API LONG RegLoadMUIStringA (HKEY hKey, LPCSTR pszValue, LPSTR pszOutBuf, DWORD cbOutBuf, LPDWORD pcbData, DWORD Flags, LPCSTR pszDirectory)
 
WINPR_API LONG RegNotifyChangeKeyValue (HKEY hKey, BOOL bWatchSubtree, DWORD dwNotifyFilter, HANDLE hEvent, BOOL fAsynchronous)
 
WINPR_API LONG RegOpenCurrentUser (REGSAM samDesired, PHKEY phkResult)
 
WINPR_API LONG RegOpenKeyExW (HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
 
WINPR_API LONG RegOpenKeyExA (HKEY hKey, LPCSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
 
WINPR_API LONG RegOpenUserClassesRoot (HANDLE hToken, DWORD dwOptions, REGSAM samDesired, PHKEY phkResult)
 
WINPR_API LONG RegQueryInfoKeyW (HKEY hKey, LPWSTR lpClass, LPDWORD lpcClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcMaxSubKeyLen, LPDWORD lpcMaxClassLen, LPDWORD lpcValues, LPDWORD lpcMaxValueNameLen, LPDWORD lpcMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
 
WINPR_API LONG RegQueryInfoKeyA (HKEY hKey, LPSTR lpClass, LPDWORD lpcClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcMaxSubKeyLen, LPDWORD lpcMaxClassLen, LPDWORD lpcValues, LPDWORD lpcMaxValueNameLen, LPDWORD lpcMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
 
WINPR_API LONG RegQueryValueExW (HKEY hKey, LPCWSTR lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)
 
WINPR_API LONG RegQueryValueExA (HKEY hKey, LPCSTR lpValueName, LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData)
 
WINPR_API LONG RegRestoreKeyW (HKEY hKey, LPCWSTR lpFile, DWORD dwFlags)
 
WINPR_API LONG RegRestoreKeyA (HKEY hKey, LPCSTR lpFile, DWORD dwFlags)
 
WINPR_API LONG RegSaveKeyExW (HKEY hKey, LPCWSTR lpFile, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD Flags)
 
WINPR_API LONG RegSaveKeyExA (HKEY hKey, LPCSTR lpFile, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD Flags)
 
WINPR_API LONG RegSetKeySecurity (HKEY hKey, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor)
 
WINPR_API LONG RegSetValueExW (HKEY hKey, LPCWSTR lpValueName, DWORD Reserved, DWORD dwType, const BYTE *lpData, DWORD cbData)
 
WINPR_API LONG RegSetValueExA (HKEY hKey, LPCSTR lpValueName, DWORD Reserved, DWORD dwType, const BYTE *lpData, DWORD cbData)
 
WINPR_API LONG RegUnLoadKeyW (HKEY hKey, LPCWSTR lpSubKey)
 
WINPR_API LONG RegUnLoadKeyA (HKEY hKey, LPCSTR lpSubKey)
 

Macro Definition Documentation

◆ DACL_SECURITY_INFORMATION

#define DACL_SECURITY_INFORMATION   0x00000004

◆ GROUP_SECURITY_INFORMATION

#define GROUP_SECURITY_INFORMATION   0x00000002

◆ HKEY_CLASSES_ROOT

#define HKEY_CLASSES_ROOT   ((HKEY)(LONG_PTR)(LONG)0x80000000)

◆ HKEY_CURRENT_CONFIG

#define HKEY_CURRENT_CONFIG   ((HKEY)(LONG_PTR)(LONG)0x80000005)

◆ HKEY_CURRENT_USER

#define HKEY_CURRENT_USER   ((HKEY)(LONG_PTR)(LONG)0x80000001)

◆ HKEY_CURRENT_USER_LOCAL_SETTINGS

#define HKEY_CURRENT_USER_LOCAL_SETTINGS   ((HKEY)(LONG_PTR)(LONG)0x80000007)

◆ HKEY_DYN_DATA

#define HKEY_DYN_DATA   ((HKEY)(LONG_PTR)(LONG)0x80000006)

◆ HKEY_LOCAL_MACHINE

#define HKEY_LOCAL_MACHINE   ((HKEY)(LONG_PTR)(LONG)0x80000002)

◆ HKEY_PERFORMANCE_DATA

#define HKEY_PERFORMANCE_DATA   ((HKEY)(LONG_PTR)(LONG)0x80000004)

◆ HKEY_PERFORMANCE_NLSTEXT

#define HKEY_PERFORMANCE_NLSTEXT   ((HKEY)(LONG_PTR)(LONG)0x80000060)

◆ HKEY_PERFORMANCE_TEXT

#define HKEY_PERFORMANCE_TEXT   ((HKEY)(LONG_PTR)(LONG)0x80000050)

◆ HKEY_USERS

#define HKEY_USERS   ((HKEY)(LONG_PTR)(LONG)0x80000003)

◆ KEY_ALL_ACCESS

#define KEY_ALL_ACCESS
Value:
KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_CREATE_LINK) & \
#define SYNCHRONIZE
Definition: nt.h:1509
#define STANDARD_RIGHTS_ALL
Definition: nt.h:1514
#define KEY_CREATE_SUB_KEY
Definition: registry.h:67
#define KEY_QUERY_VALUE
Definition: registry.h:65
#define KEY_CREATE_LINK
Definition: registry.h:70
#define KEY_NOTIFY
Definition: registry.h:69
#define KEY_SET_VALUE
Definition: registry.h:66

◆ KEY_CREATE_LINK

#define KEY_CREATE_LINK   0x00000020

◆ KEY_CREATE_SUB_KEY

#define KEY_CREATE_SUB_KEY   0x00000004

◆ KEY_ENUMERATE_SUB_KEYS

#define KEY_ENUMERATE_SUB_KEYS   0x00000008

◆ KEY_EXECUTE

#define KEY_EXECUTE   ((KEY_READ) & (~SYNCHRONIZE))

◆ KEY_NOTIFY

#define KEY_NOTIFY   0x00000010

◆ KEY_QUERY_VALUE

#define KEY_QUERY_VALUE   0x00000001

◆ KEY_READ

#define KEY_READ
Value:
#define STANDARD_RIGHTS_READ
Definition: nt.h:1511
#define KEY_ENUMERATE_SUB_KEYS
Definition: registry.h:68

◆ KEY_SET_VALUE

#define KEY_SET_VALUE   0x00000002

◆ KEY_WOW64_32KEY

#define KEY_WOW64_32KEY   0x00000200

◆ KEY_WOW64_64KEY

#define KEY_WOW64_64KEY   0x00000100

◆ KEY_WOW64_RES

#define KEY_WOW64_RES   0x00000300

◆ KEY_WRITE

◆ OWNER_SECURITY_INFORMATION

#define OWNER_SECURITY_INFORMATION   0x00000001

WinPR: Windows Portable Runtime Windows Registry

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

◆ REG_CREATED_NEW_KEY

#define REG_CREATED_NEW_KEY   0x00000001

◆ REG_FORCE_RESTORE

#define REG_FORCE_RESTORE   0x00000008

◆ REG_NO_LAZY_FLUSH

#define REG_NO_LAZY_FLUSH   0x00000004

◆ REG_NOTIFY_CHANGE_ATTRIBUTES

#define REG_NOTIFY_CHANGE_ATTRIBUTES   0x02

◆ REG_NOTIFY_CHANGE_LAST_SET

#define REG_NOTIFY_CHANGE_LAST_SET   0x04

◆ REG_NOTIFY_CHANGE_NAME

#define REG_NOTIFY_CHANGE_NAME   0x01

◆ REG_NOTIFY_CHANGE_SECURITY

#define REG_NOTIFY_CHANGE_SECURITY   0x08

◆ REG_OPENED_EXISTING_KEY

#define REG_OPENED_EXISTING_KEY   0x00000002

◆ REG_OPTION_BACKUP_RESTORE

#define REG_OPTION_BACKUP_RESTORE   0x00000004

◆ REG_OPTION_CREATE_LINK

#define REG_OPTION_CREATE_LINK   0x00000002

◆ REG_OPTION_NON_VOLATILE

#define REG_OPTION_NON_VOLATILE   0x00000000

◆ REG_OPTION_OPEN_LINK

#define REG_OPTION_OPEN_LINK   0x00000008

◆ REG_OPTION_RESERVED

#define REG_OPTION_RESERVED   0x00000000

◆ REG_OPTION_VOLATILE

#define REG_OPTION_VOLATILE   0x00000001

◆ REG_REFRESH_HIVE

#define REG_REFRESH_HIVE   0x00000002

◆ REG_WHOLE_HIVE_VOLATILE

#define REG_WHOLE_HIVE_VOLATILE   0x00000001

◆ RegCopyTree

#define RegCopyTree   RegCopyTreeA

◆ RegCreateKeyEx

#define RegCreateKeyEx   RegCreateKeyExA

◆ RegDeleteKeyEx

#define RegDeleteKeyEx   RegDeleteKeyExA

◆ RegDeleteTree

#define RegDeleteTree   RegDeleteTreeA

◆ RegDeleteValue

#define RegDeleteValue   RegDeleteValueA

◆ RegEnumKeyEx

#define RegEnumKeyEx   RegEnumKeyExA

◆ RegEnumValue

#define RegEnumValue   RegEnumValueA

◆ RegGetValue

#define RegGetValue   RegGetValueA

◆ RegLoadAppKey

#define RegLoadAppKey   RegLoadAppKeyA

◆ RegLoadKey

#define RegLoadKey   RegLoadKeyA

◆ RegLoadMUIString

#define RegLoadMUIString   RegLoadMUIStringA

◆ RegOpenKeyEx

#define RegOpenKeyEx   RegOpenKeyExA

◆ RegQueryInfoKey

#define RegQueryInfoKey   RegQueryInfoKeyA

◆ RegQueryValueEx

#define RegQueryValueEx   RegQueryValueExA

◆ RegRestoreKey

#define RegRestoreKey   RegRestoreKeyA

◆ RegSaveKeyEx

#define RegSaveKeyEx   RegSaveKeyExA

◆ RegSetValueEx

#define RegSetValueEx   RegSetValueExA

◆ RegUnLoadKey

#define RegUnLoadKey   RegUnLoadKeyA

◆ RRF_NOEXPAND

#define RRF_NOEXPAND   0x10000000

◆ RRF_RT_ANY

#define RRF_RT_ANY   0x0000FFFF

◆ RRF_RT_DWORD

#define RRF_RT_DWORD   (RRF_RT_REG_BINARY | RRF_RT_REG_DWORD)

◆ RRF_RT_QWORD

#define RRF_RT_QWORD   (RRF_RT_REG_BINARY | RRF_RT_REG_QWORD)

◆ RRF_RT_REG_BINARY

#define RRF_RT_REG_BINARY   0x00000008

◆ RRF_RT_REG_DWORD

#define RRF_RT_REG_DWORD   0x00000010

◆ RRF_RT_REG_EXPAND_SZ

#define RRF_RT_REG_EXPAND_SZ   0x00000004

◆ RRF_RT_REG_MULTI_SZ

#define RRF_RT_REG_MULTI_SZ   0x00000020

◆ RRF_RT_REG_NONE

#define RRF_RT_REG_NONE   0x00000001

◆ RRF_RT_REG_QWORD

#define RRF_RT_REG_QWORD   0x00000040

◆ RRF_RT_REG_SZ

#define RRF_RT_REG_SZ   0x00000002

◆ RRF_ZEROONFAILURE

#define RRF_ZEROONFAILURE   0x20000000

◆ SACL_SECURITY_INFORMATION

#define SACL_SECURITY_INFORMATION   0x00000008

Typedef Documentation

◆ HKEY

typedef HANDLE HKEY

◆ PHKEY

typedef HANDLE* PHKEY

◆ PPVALUE

typedef PPVALUEA PPVALUE

◆ PVALENT

typedef PVALENTA PVALENT

◆ PVALUE

typedef PVALUEA PVALUE

◆ REGSAM

◆ VALENT

typedef VALENTA VALENT

Enumeration Type Documentation

◆ eRegTypes

enum eRegTypes
Enumerator
REG_NONE 
REG_SZ 
REG_EXPAND_SZ 
REG_BINARY 
REG_DWORD 
REG_DWORD_LITTLE_ENDIAN 
REG_DWORD_BIG_ENDIAN 
REG_LINK 
REG_MULTI_SZ 
REG_RESOURCE_LIST 
REG_FULL_RESOURCE_DESCRIPTOR 
REG_RESOURCE_REQUIREMENTS_LIST 
REG_QWORD 
REG_QWORD_LITTLE_ENDIAN 

Function Documentation

◆ RegCloseKey()

WINPR_API LONG RegCloseKey ( HKEY  hKey)
Here is the caller graph for this function:

◆ RegCopyTreeA()

WINPR_API LONG RegCopyTreeA ( HKEY  hKeySrc,
LPCSTR  lpSubKey,
HKEY  hKeyDest 
)

◆ RegCopyTreeW()

WINPR_API LONG RegCopyTreeW ( HKEY  hKeySrc,
LPCWSTR  lpSubKey,
HKEY  hKeyDest 
)

◆ RegCreateKeyExA()

WINPR_API LONG RegCreateKeyExA ( HKEY  hKey,
LPCSTR  lpSubKey,
DWORD  Reserved,
LPSTR  lpClass,
DWORD  dwOptions,
REGSAM  samDesired,
LPSECURITY_ATTRIBUTES  lpSecurityAttributes,
PHKEY  phkResult,
LPDWORD  lpdwDisposition 
)

◆ RegCreateKeyExW()

WINPR_API LONG RegCreateKeyExW ( HKEY  hKey,
LPCWSTR  lpSubKey,
DWORD  Reserved,
LPWSTR  lpClass,
DWORD  dwOptions,
REGSAM  samDesired,
LPSECURITY_ATTRIBUTES  lpSecurityAttributes,
PHKEY  phkResult,
LPDWORD  lpdwDisposition 
)

◆ RegDeleteKeyExA()

WINPR_API LONG RegDeleteKeyExA ( HKEY  hKey,
LPCSTR  lpSubKey,
REGSAM  samDesired,
DWORD  Reserved 
)

◆ RegDeleteKeyExW()

WINPR_API LONG RegDeleteKeyExW ( HKEY  hKey,
LPCWSTR  lpSubKey,
REGSAM  samDesired,
DWORD  Reserved 
)

◆ RegDeleteTreeA()

WINPR_API LONG RegDeleteTreeA ( HKEY  hKey,
LPCSTR  lpSubKey 
)

◆ RegDeleteTreeW()

WINPR_API LONG RegDeleteTreeW ( HKEY  hKey,
LPCWSTR  lpSubKey 
)

◆ RegDeleteValueA()

WINPR_API LONG RegDeleteValueA ( HKEY  hKey,
LPCSTR  lpValueName 
)

◆ RegDeleteValueW()

WINPR_API LONG RegDeleteValueW ( HKEY  hKey,
LPCWSTR  lpValueName 
)

◆ RegDisablePredefinedCacheEx()

WINPR_API LONG RegDisablePredefinedCacheEx ( void  )

◆ RegEnumKeyExA()

WINPR_API LONG RegEnumKeyExA ( HKEY  hKey,
DWORD  dwIndex,
LPSTR  lpName,
LPDWORD  lpcName,
LPDWORD  lpReserved,
LPSTR  lpClass,
LPDWORD  lpcClass,
PFILETIME  lpftLastWriteTime 
)

◆ RegEnumKeyExW()

WINPR_API LONG RegEnumKeyExW ( HKEY  hKey,
DWORD  dwIndex,
LPWSTR  lpName,
LPDWORD  lpcName,
LPDWORD  lpReserved,
LPWSTR  lpClass,
LPDWORD  lpcClass,
PFILETIME  lpftLastWriteTime 
)

◆ RegEnumValueA()

WINPR_API LONG RegEnumValueA ( HKEY  hKey,
DWORD  dwIndex,
LPSTR  lpValueName,
LPDWORD  lpcchValueName,
LPDWORD  lpReserved,
LPDWORD  lpType,
LPBYTE  lpData,
LPDWORD  lpcbData 
)

◆ RegEnumValueW()

WINPR_API LONG RegEnumValueW ( HKEY  hKey,
DWORD  dwIndex,
LPWSTR  lpValueName,
LPDWORD  lpcchValueName,
LPDWORD  lpReserved,
LPDWORD  lpType,
LPBYTE  lpData,
LPDWORD  lpcbData 
)

◆ RegFlushKey()

WINPR_API LONG RegFlushKey ( HKEY  hKey)

◆ RegGetKeySecurity()

WINPR_API LONG RegGetKeySecurity ( HKEY  hKey,
SECURITY_INFORMATION  SecurityInformation,
PSECURITY_DESCRIPTOR  pSecurityDescriptor,
LPDWORD  lpcbSecurityDescriptor 
)

◆ RegGetValueA()

WINPR_API LONG RegGetValueA ( HKEY  hkey,
LPCSTR  lpSubKey,
LPCSTR  lpValue,
DWORD  dwFlags,
LPDWORD  pdwType,
PVOID  pvData,
LPDWORD  pcbData 
)

◆ RegGetValueW()

WINPR_API LONG RegGetValueW ( HKEY  hkey,
LPCWSTR  lpSubKey,
LPCWSTR  lpValue,
DWORD  dwFlags,
LPDWORD  pdwType,
PVOID  pvData,
LPDWORD  pcbData 
)

◆ RegLoadAppKeyA()

WINPR_API LONG RegLoadAppKeyA ( LPCSTR  lpFile,
PHKEY  phkResult,
REGSAM  samDesired,
DWORD  dwOptions,
DWORD  Reserved 
)

◆ RegLoadAppKeyW()

WINPR_API LONG RegLoadAppKeyW ( LPCWSTR  lpFile,
PHKEY  phkResult,
REGSAM  samDesired,
DWORD  dwOptions,
DWORD  Reserved 
)

◆ RegLoadKeyA()

WINPR_API LONG RegLoadKeyA ( HKEY  hKey,
LPCSTR  lpSubKey,
LPCSTR  lpFile 
)

◆ RegLoadKeyW()

WINPR_API LONG RegLoadKeyW ( HKEY  hKey,
LPCWSTR  lpSubKey,
LPCWSTR  lpFile 
)

◆ RegLoadMUIStringA()

WINPR_API LONG RegLoadMUIStringA ( HKEY  hKey,
LPCSTR  pszValue,
LPSTR  pszOutBuf,
DWORD  cbOutBuf,
LPDWORD  pcbData,
DWORD  Flags,
LPCSTR  pszDirectory 
)

◆ RegLoadMUIStringW()

WINPR_API LONG RegLoadMUIStringW ( HKEY  hKey,
LPCWSTR  pszValue,
LPWSTR  pszOutBuf,
DWORD  cbOutBuf,
LPDWORD  pcbData,
DWORD  Flags,
LPCWSTR  pszDirectory 
)

◆ RegNotifyChangeKeyValue()

WINPR_API LONG RegNotifyChangeKeyValue ( HKEY  hKey,
BOOL  bWatchSubtree,
DWORD  dwNotifyFilter,
HANDLE  hEvent,
BOOL  fAsynchronous 
)

◆ RegOpenCurrentUser()

WINPR_API LONG RegOpenCurrentUser ( REGSAM  samDesired,
PHKEY  phkResult 
)

◆ RegOpenKeyExA()

WINPR_API LONG RegOpenKeyExA ( HKEY  hKey,
LPCSTR  lpSubKey,
DWORD  ulOptions,
REGSAM  samDesired,
PHKEY  phkResult 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegOpenKeyExW()

WINPR_API LONG RegOpenKeyExW ( HKEY  hKey,
LPCWSTR  lpSubKey,
DWORD  ulOptions,
REGSAM  samDesired,
PHKEY  phkResult 
)
Here is the call graph for this function:

◆ RegOpenUserClassesRoot()

WINPR_API LONG RegOpenUserClassesRoot ( HANDLE  hToken,
DWORD  dwOptions,
REGSAM  samDesired,
PHKEY  phkResult 
)

◆ RegQueryInfoKeyA()

WINPR_API LONG RegQueryInfoKeyA ( HKEY  hKey,
LPSTR  lpClass,
LPDWORD  lpcClass,
LPDWORD  lpReserved,
LPDWORD  lpcSubKeys,
LPDWORD  lpcMaxSubKeyLen,
LPDWORD  lpcMaxClassLen,
LPDWORD  lpcValues,
LPDWORD  lpcMaxValueNameLen,
LPDWORD  lpcMaxValueLen,
LPDWORD  lpcbSecurityDescriptor,
PFILETIME  lpftLastWriteTime 
)

◆ RegQueryInfoKeyW()

WINPR_API LONG RegQueryInfoKeyW ( HKEY  hKey,
LPWSTR  lpClass,
LPDWORD  lpcClass,
LPDWORD  lpReserved,
LPDWORD  lpcSubKeys,
LPDWORD  lpcMaxSubKeyLen,
LPDWORD  lpcMaxClassLen,
LPDWORD  lpcValues,
LPDWORD  lpcMaxValueNameLen,
LPDWORD  lpcMaxValueLen,
LPDWORD  lpcbSecurityDescriptor,
PFILETIME  lpftLastWriteTime 
)

◆ RegQueryValueExA()

WINPR_API LONG RegQueryValueExA ( HKEY  hKey,
LPCSTR  lpValueName,
LPDWORD  lpReserved,
LPDWORD  lpType,
LPBYTE  lpData,
LPDWORD  lpcbData 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegQueryValueExW()

WINPR_API LONG RegQueryValueExW ( HKEY  hKey,
LPCWSTR  lpValueName,
LPDWORD  lpReserved,
LPDWORD  lpType,
LPBYTE  lpData,
LPDWORD  lpcbData 
)
Here is the call graph for this function:

◆ RegRestoreKeyA()

WINPR_API LONG RegRestoreKeyA ( HKEY  hKey,
LPCSTR  lpFile,
DWORD  dwFlags 
)

◆ RegRestoreKeyW()

WINPR_API LONG RegRestoreKeyW ( HKEY  hKey,
LPCWSTR  lpFile,
DWORD  dwFlags 
)

◆ RegSaveKeyExA()

WINPR_API LONG RegSaveKeyExA ( HKEY  hKey,
LPCSTR  lpFile,
LPSECURITY_ATTRIBUTES  lpSecurityAttributes,
DWORD  Flags 
)

◆ RegSaveKeyExW()

WINPR_API LONG RegSaveKeyExW ( HKEY  hKey,
LPCWSTR  lpFile,
LPSECURITY_ATTRIBUTES  lpSecurityAttributes,
DWORD  Flags 
)

◆ RegSetKeySecurity()

WINPR_API LONG RegSetKeySecurity ( HKEY  hKey,
SECURITY_INFORMATION  SecurityInformation,
PSECURITY_DESCRIPTOR  pSecurityDescriptor 
)

◆ RegSetValueExA()

WINPR_API LONG RegSetValueExA ( HKEY  hKey,
LPCSTR  lpValueName,
DWORD  Reserved,
DWORD  dwType,
const BYTE lpData,
DWORD  cbData 
)

◆ RegSetValueExW()

WINPR_API LONG RegSetValueExW ( HKEY  hKey,
LPCWSTR  lpValueName,
DWORD  Reserved,
DWORD  dwType,
const BYTE lpData,
DWORD  cbData 
)

◆ RegUnLoadKeyA()

WINPR_API LONG RegUnLoadKeyA ( HKEY  hKey,
LPCSTR  lpSubKey 
)

◆ RegUnLoadKeyW()

WINPR_API LONG RegUnLoadKeyW ( HKEY  hKey,
LPCWSTR  lpSubKey 
)