ReactOS 0.4.15-dev-7788-g1ad9096
winreg.h File Reference
#include <reason.h>
Include dependency graph for winreg.h:

Go to the source code of this file.

Classes

struct  value_entA
 
struct  value_entW
 

Macros

#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
 
#define REG_OPENED_EXISTING_KEY   2
 
#define REG_NONE   0
 
#define REG_SZ   1
 
#define REG_EXPAND_SZ   2
 
#define REG_BINARY   3
 
#define REG_DWORD_LITTLE_ENDIAN   4
 
#define REG_DWORD   4
 
#define REG_DWORD_BIG_ENDIAN   5
 
#define REG_LINK   6
 
#define REG_MULTI_SZ   7
 
#define REG_RESOURCE_LIST   8
 
#define REG_FULL_RESOURCE_DESCRIPTOR   9
 
#define REG_RESOURCE_REQUIREMENTS_LIST   10
 
#define REG_QWORD_LITTLE_ENDIAN   11
 
#define REG_QWORD   11
 
#define REG_NOTIFY_CHANGE_NAME   1
 
#define REG_NOTIFY_CHANGE_ATTRIBUTES   2
 
#define REG_NOTIFY_CHANGE_LAST_SET   4
 
#define REG_NOTIFY_CHANGE_SECURITY   8
 
#define SHUTDOWN_FORCE_OTHERS   0x00000001
 
#define SHUTDOWN_FORCE_SELF   0x00000002
 
#define SHUTDOWN_GRACE_OVERRIDE   0x00000020
 
#define SHUTDOWN_INSTALL_UPDATES   0x00000040
 
#define SHUTDOWN_NOREBOOT   0x00000010
 
#define SHUTDOWN_POWEROFF   0x00000008
 
#define SHUTDOWN_RESTART   0x00000004
 
#define SHUTDOWN_RESTARTAPPS   0x00000080
 
#define MAX_SHUTDOWN_TIMEOUT   (10*365*24*60*60)
 
#define RRF_RT_REG_NONE   (1 << 0)
 
#define RRF_RT_REG_SZ   (1 << 1)
 
#define RRF_RT_REG_EXPAND_SZ   (1 << 2)
 
#define RRF_RT_REG_BINARY   (1 << 3)
 
#define RRF_RT_REG_DWORD   (1 << 4)
 
#define RRF_RT_REG_MULTI_SZ   (1 << 5)
 
#define RRF_RT_REG_QWORD   (1 << 6)
 
#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   (1 << 28)
 
#define RRF_ZEROONFAILURE   (1 << 29)
 
#define AbortSystemShutdown   AbortSystemShutdownA
 
#define InitiateSystemShutdown   InitiateSystemShutdownA
 
#define InitiateSystemShutdownEx   InitiateSystemShutdownExA
 
#define RegConnectRegistry   RegConnectRegistryA
 
#define RegCreateKey   RegCreateKeyA
 
#define RegCreateKeyEx   RegCreateKeyExA
 
#define RegDeleteKey   RegDeleteKeyA
 
#define RegDeleteKeyEx   RegDeleteKeyExA
 
#define RegDeleteValue   RegDeleteValueA
 
#define RegEnumKey   RegEnumKeyA
 
#define RegEnumKeyEx   RegEnumKeyExA
 
#define RegEnumValue   RegEnumValueA
 
#define RegLoadKey   RegLoadKeyA
 
#define RegOpenKey   RegOpenKeyA
 
#define RegOpenKeyEx   RegOpenKeyExA
 
#define RegQueryInfoKey   RegQueryInfoKeyA
 
#define RegQueryMultipleValues   RegQueryMultipleValuesA
 
#define RegQueryValue   RegQueryValueA
 
#define RegQueryValueEx   RegQueryValueExA
 
#define RegReplaceKey   RegReplaceKeyA
 
#define RegRestoreKey   RegRestoreKeyA
 
#define RegSaveKey   RegSaveKeyA
 
#define RegSaveKeyEx   RegSaveKeyExA
 
#define RegSetValue   RegSetValueA
 
#define RegSetValueEx   RegSetValueExA
 
#define RegUnLoadKey   RegUnLoadKeyA
 

Typedefs

typedef ACCESS_MASK REGSAM
 
typedef struct value_entA VALENTA
 
typedef struct value_entAPVALENTA
 
typedef struct value_entW VALENTW
 
typedef struct value_entWPVALENTW
 
typedef VALENTA VALENT
 
typedef VALENTAPVALENT
 

Functions

typedef _Return_type_success_ (return==ERROR_SUCCESS) LONG LSTATUS
 
BOOL WINAPI AbortSystemShutdownA (_In_opt_ LPCSTR)
 
BOOL WINAPI AbortSystemShutdownW (_In_opt_ LPCWSTR)
 
BOOL WINAPI InitiateSystemShutdownA (_In_opt_ LPSTR, _In_opt_ LPSTR, _In_ DWORD, _In_ BOOL, _In_ BOOL)
 
BOOL WINAPI InitiateSystemShutdownW (_In_opt_ LPWSTR, _In_opt_ LPWSTR, _In_ DWORD, _In_ BOOL, _In_ BOOL)
 
BOOL WINAPI InitiateSystemShutdownExA (_In_opt_ LPSTR, _In_opt_ LPSTR, _In_ DWORD, _In_ BOOL, _In_ BOOL, _In_ DWORD)
 
BOOL WINAPI InitiateSystemShutdownExW (_In_opt_ LPWSTR, _In_opt_ LPWSTR, _In_ DWORD, _In_ BOOL, _In_ BOOL, _In_ DWORD)
 
LSTATUS WINAPI RegCloseKey (_In_ HKEY hKey)
 
LSTATUS WINAPI RegConnectRegistryA (_In_opt_ LPCSTR, _In_ HKEY, _Out_ PHKEY)
 
LSTATUS WINAPI RegConnectRegistryW (_In_opt_ LPCWSTR, _In_ HKEY, _Out_ PHKEY)
 
LSTATUS WINAPI RegCreateKeyA (_In_ HKEY hKey, _In_opt_ LPCSTR lpSubKey, _Out_ PHKEY phkResult)
 
LSTATUS WINAPI RegCreateKeyW (_In_ HKEY hKey, _In_opt_ LPCWSTR lpSubKey, _Out_ PHKEY phkResult)
 
LSTATUS WINAPI RegCreateKeyExA (_In_ HKEY hKey, _In_ LPCSTR lpSubKey, _Reserved_ DWORD Reserved, _In_opt_ LPSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ PDWORD lpdwDisposition)
 
LSTATUS WINAPI RegCreateKeyExW (_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _Reserved_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ PDWORD lpdwDisposition)
 
LSTATUS WINAPI RegDeleteKeyA (_In_ HKEY hKey, _In_ LPCSTR lpSubKey)
 
LSTATUS WINAPI RegDeleteKeyW (_In_ HKEY hKey, _In_ LPCWSTR lpSubKey)
 
LSTATUS WINAPI RegDeleteKeyExA (_In_ HKEY hKey, _In_ LPCSTR lpSubKey, _In_ REGSAM samDesired, _Reserved_ DWORD Reserved)
 
LSTATUS WINAPI RegDeleteKeyExW (_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ REGSAM samDesired, _Reserved_ DWORD Reserved)
 
LSTATUS WINAPI RegDeleteValueA (_In_ HKEY, _In_opt_ LPCSTR)
 
LSTATUS WINAPI RegDeleteValueW (_In_ HKEY, _In_opt_ LPCWSTR)
 
LSTATUS WINAPI RegEnumKeyA (_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_writes_opt_(cchName) LPSTR lpName, _In_ DWORD cchName)
 
LSTATUS WINAPI RegEnumKeyW (_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_writes_opt_(cchName) LPWSTR lpName, _In_ DWORD cchName)
 
LSTATUS WINAPI RegEnumKeyExA (_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_writes_to_opt_(*lpcchName, *lpcchName+1) LPSTR lpName, _Inout_ LPDWORD lpcchName, _Reserved_ LPDWORD lpReserved, _Out_writes_to_opt_(*lpcchClass, *lpcchClass+1) LPSTR lpClass, _Inout_opt_ LPDWORD lpcchClass, _Out_opt_ PFILETIME lpftLastWriteTime)
 
LSTATUS WINAPI RegEnumKeyExW (_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_writes_to_opt_(*lpcchName, *lpcchName+1) LPWSTR lpName, _Inout_ LPDWORD lpcchName, _Reserved_ LPDWORD lpReserved, _Out_writes_to_opt_(*lpcchClass, *lpcchClass+1) LPWSTR lpClass, _Inout_opt_ LPDWORD lpcchClass, _Out_opt_ PFILETIME lpftLastWriteTime)
 
LSTATUS WINAPI RegEnumValueA (_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_writes_to_opt_(*lpcchValueName, *lpcchValueName+1) LPSTR lpValueName, _Inout_ LPDWORD lpcchValueName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPDWORD lpType, _Out_writes_bytes_to_opt_(*lpcbData, *lpcbData) __out_data_source(REGISTRY) LPBYTE lpData, _Inout_opt_ LPDWORD lpcbData)
 
LSTATUS WINAPI RegEnumValueW (_In_ HKEY hKey, _In_ DWORD dwIndex, _Out_writes_to_opt_(*lpcchValueName, *lpcchValueName+1) LPWSTR lpValueName, _Inout_ LPDWORD lpcchValueName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPDWORD lpType, _Out_writes_bytes_to_opt_(*lpcbData, *lpcbData) __out_data_source(REGISTRY) LPBYTE lpData, _Inout_opt_ LPDWORD lpcbData)
 
LSTATUS WINAPI RegFlushKey (_In_ HKEY)
 
LSTATUS WINAPI RegGetKeySecurity (_In_ HKEY hKey, _In_ SECURITY_INFORMATION SecurityInformation, _Out_writes_bytes_opt_(*lpcbSecurityDescriptor) PSECURITY_DESCRIPTOR pSecurityDescriptor, _Inout_ LPDWORD lpcbSecurityDescriptor)
 
LSTATUS WINAPI RegLoadKeyA (_In_ HKEY, _In_opt_ LPCSTR, _In_ LPCSTR)
 
LSTATUS WINAPI RegLoadKeyW (_In_ HKEY, _In_opt_ LPCWSTR, _In_ LPCWSTR)
 
LSTATUS WINAPI RegNotifyChangeKeyValue (_In_ HKEY, _In_ BOOL, _In_ DWORD, _In_opt_ HANDLE, _In_ BOOL)
 
LSTATUS WINAPI RegOpenCurrentUser (_In_ REGSAM, _Out_ PHKEY)
 
LSTATUS WINAPI RegOpenKeyA (_In_ HKEY, _In_opt_ LPCSTR, _Out_ PHKEY)
 
LSTATUS WINAPI RegOpenKeyW (_In_ HKEY, _In_opt_ LPCWSTR, _Out_ PHKEY)
 
LSTATUS WINAPI RegOpenKeyExA (_In_ HKEY, _In_opt_ LPCSTR, _In_opt_ DWORD, _In_ REGSAM, _Out_ PHKEY)
 
LSTATUS WINAPI RegOpenKeyExW (_In_ HKEY, _In_opt_ LPCWSTR, _In_opt_ DWORD, _In_ REGSAM, _Out_ PHKEY)
 
LSTATUS WINAPI RegQueryInfoKeyA (_In_ HKEY hKey, _Out_writes_to_opt_(*lpcchClass, *lpcchClass+1) LPSTR lpClass, _Inout_opt_ LPDWORD lpcchClass, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPDWORD lpcSubKeys, _Out_opt_ LPDWORD lpcbMaxSubKeyLen, _Out_opt_ LPDWORD lpcbMaxClassLen, _Out_opt_ LPDWORD lpcValues, _Out_opt_ LPDWORD lpcbMaxValueNameLen, _Out_opt_ LPDWORD lpcbMaxValueLen, _Out_opt_ LPDWORD lpcbSecurityDescriptor, _Out_opt_ PFILETIME lpftLastWriteTime)
 
LSTATUS WINAPI RegQueryInfoKeyW (_In_ HKEY hKey, _Out_writes_to_opt_(*lpcchClass, *lpcchClass+1) LPWSTR lpClass, _Inout_opt_ LPDWORD lpcchClass, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPDWORD lpcSubKeys, _Out_opt_ LPDWORD lpcbMaxSubKeyLen, _Out_opt_ LPDWORD lpcbMaxClassLen, _Out_opt_ LPDWORD lpcValues, _Out_opt_ LPDWORD lpcbMaxValueNameLen, _Out_opt_ LPDWORD lpcbMaxValueLen, _Out_opt_ LPDWORD lpcbSecurityDescriptor, _Out_opt_ PFILETIME lpftLastWriteTime)
 
LSTATUS WINAPI RegQueryMultipleValuesA (_In_ HKEY hKey, _Out_writes_(num_vals) PVALENTA val_list, _In_ DWORD num_vals, _Out_writes_bytes_to_opt_(*ldwTotsize, *ldwTotsize) __out_data_source(REGISTRY) LPSTR lpValueBuf, _Inout_opt_ LPDWORD ldwTotsize)
 
LSTATUS WINAPI RegQueryMultipleValuesW (_In_ HKEY hKey, _Out_writes_(num_vals) PVALENTW val_list, _In_ DWORD num_vals, _Out_writes_bytes_to_opt_(*ldwTotsize, *ldwTotsize) __out_data_source(REGISTRY) LPWSTR lpValueBuf, _Inout_opt_ LPDWORD ldwTotsize)
 
LSTATUS WINAPI RegQueryValueA (_In_ HKEY hKey, _In_opt_ LPCSTR lpSubKey, _Out_writes_bytes_to_opt_(*lpcbData, *lpcbData) __out_data_source(REGISTRY) LPSTR lpData, _Inout_opt_ PLONG lpcbData)
 
LSTATUS WINAPI RegQueryValueW (_In_ HKEY hKey, _In_opt_ LPCWSTR lpSubKey, _Out_writes_bytes_to_opt_(*lpcbData, *lpcbData) __out_data_source(REGISTRY) LPWSTR lpData, _Inout_opt_ PLONG lpcbData)
 
LSTATUS WINAPI RegQueryValueExA (_In_ HKEY hKey, _In_opt_ LPCSTR lpValueName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPDWORD lpType, _Out_writes_bytes_to_opt_(*lpcbData, *lpcbData) __out_data_source(REGISTRY) LPBYTE lpData, _When_(lpData==NULL, _Out_opt_) _When_(lpData !=NULL, _Inout_opt_) LPDWORD lpcbData)
 
LSTATUS WINAPI RegQueryValueExW (_In_ HKEY hKey, _In_opt_ LPCWSTR lpValueName, _Reserved_ LPDWORD lpReserved, _Out_opt_ LPDWORD lpType, _Out_writes_bytes_to_opt_(*lpcbData, *lpcbData) __out_data_source(REGISTRY) LPBYTE lpData, _When_(lpData==NULL, _Out_opt_) _When_(lpData !=NULL, _Inout_opt_) LPDWORD lpcbData)
 
LSTATUS WINAPI RegReplaceKeyA (_In_ HKEY, _In_opt_ LPCSTR, _In_ LPCSTR, _In_ LPCSTR)
 
LSTATUS WINAPI RegReplaceKeyW (_In_ HKEY, _In_opt_ LPCWSTR, _In_ LPCWSTR, _In_ LPCWSTR)
 
LSTATUS WINAPI RegRestoreKeyA (_In_ HKEY, _In_ LPCSTR, _In_ DWORD)
 
LSTATUS WINAPI RegRestoreKeyW (_In_ HKEY, _In_ LPCWSTR, _In_ DWORD)
 
LSTATUS WINAPI RegSaveKeyA (_In_ HKEY, _In_ LPCSTR, _In_opt_ LPSECURITY_ATTRIBUTES)
 
LSTATUS WINAPI RegSaveKeyW (_In_ HKEY, _In_ LPCWSTR, _In_opt_ LPSECURITY_ATTRIBUTES)
 
LSTATUS WINAPI RegSetKeySecurity (_In_ HKEY, _In_ SECURITY_INFORMATION, _In_ PSECURITY_DESCRIPTOR)
 
LSTATUS WINAPI RegSetValueA (_In_ HKEY hKey, _In_opt_ LPCSTR lpSubKey, _In_ DWORD dwType, _In_reads_bytes_opt_(cbData) LPCSTR lpData, _In_ DWORD cbData)
 
LSTATUS WINAPI RegSetValueW (_In_ HKEY hKey, _In_opt_ LPCWSTR lpSubKey, _In_ DWORD dwType, _In_reads_bytes_opt_(cbData) LPCWSTR lpData, _In_ DWORD cbData)
 
LSTATUS WINAPI RegSetValueExA (_In_ HKEY hKey, _In_opt_ LPCSTR lpValueName, _Reserved_ DWORD Reserved, _In_ DWORD dwType, _In_reads_bytes_opt_(cbData) const BYTE *lpData, _In_ DWORD cbData)
 
LSTATUS WINAPI RegSetValueExW (_In_ HKEY hKey, _In_opt_ LPCWSTR lpValueName, _Reserved_ DWORD Reserved, _In_ DWORD dwType, _In_reads_bytes_opt_(cbData) const BYTE *lpData, _In_ DWORD cbData)
 
LSTATUS WINAPI RegUnLoadKeyA (_In_ HKEY, _In_opt_ LPCSTR)
 
LSTATUS WINAPI RegUnLoadKeyW (_In_ HKEY, _In_opt_ LPCWSTR)
 

Macro Definition Documentation

◆ AbortSystemShutdown

#define AbortSystemShutdown   AbortSystemShutdownA

Definition at line 492 of file winreg.h.

◆ HKEY_CLASSES_ROOT

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

Definition at line 10 of file winreg.h.

◆ HKEY_CURRENT_CONFIG

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

Definition at line 15 of file winreg.h.

◆ HKEY_CURRENT_USER

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

Definition at line 11 of file winreg.h.

◆ HKEY_DYN_DATA

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

Definition at line 16 of file winreg.h.

◆ HKEY_LOCAL_MACHINE

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

Definition at line 12 of file winreg.h.

◆ HKEY_PERFORMANCE_DATA

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

Definition at line 14 of file winreg.h.

◆ HKEY_PERFORMANCE_NLSTEXT

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

Definition at line 18 of file winreg.h.

◆ HKEY_PERFORMANCE_TEXT

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

Definition at line 17 of file winreg.h.

◆ HKEY_USERS

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

Definition at line 13 of file winreg.h.

◆ InitiateSystemShutdown

#define InitiateSystemShutdown   InitiateSystemShutdownA

Definition at line 493 of file winreg.h.

◆ InitiateSystemShutdownEx

#define InitiateSystemShutdownEx   InitiateSystemShutdownExA

Definition at line 494 of file winreg.h.

◆ MAX_SHUTDOWN_TIMEOUT

#define MAX_SHUTDOWN_TIMEOUT   (10*365*24*60*60)

Definition at line 53 of file winreg.h.

◆ REG_BINARY

#define REG_BINARY   3

Definition at line 27 of file winreg.h.

◆ REG_CREATED_NEW_KEY

#define REG_CREATED_NEW_KEY   1

Definition at line 22 of file winreg.h.

◆ REG_DWORD

#define REG_DWORD   4

Definition at line 29 of file winreg.h.

◆ REG_DWORD_BIG_ENDIAN

#define REG_DWORD_BIG_ENDIAN   5

Definition at line 30 of file winreg.h.

◆ REG_DWORD_LITTLE_ENDIAN

#define REG_DWORD_LITTLE_ENDIAN   4

Definition at line 28 of file winreg.h.

◆ REG_EXPAND_SZ

#define REG_EXPAND_SZ   2

Definition at line 26 of file winreg.h.

◆ REG_FULL_RESOURCE_DESCRIPTOR

#define REG_FULL_RESOURCE_DESCRIPTOR   9

Definition at line 34 of file winreg.h.

◆ REG_LINK

#define REG_LINK   6

Definition at line 31 of file winreg.h.

◆ REG_MULTI_SZ

#define REG_MULTI_SZ   7

Definition at line 32 of file winreg.h.

◆ REG_NONE

#define REG_NONE   0

Definition at line 24 of file winreg.h.

◆ REG_NOTIFY_CHANGE_ATTRIBUTES

#define REG_NOTIFY_CHANGE_ATTRIBUTES   2

Definition at line 39 of file winreg.h.

◆ REG_NOTIFY_CHANGE_LAST_SET

#define REG_NOTIFY_CHANGE_LAST_SET   4

Definition at line 40 of file winreg.h.

◆ REG_NOTIFY_CHANGE_NAME

#define REG_NOTIFY_CHANGE_NAME   1

Definition at line 38 of file winreg.h.

◆ REG_NOTIFY_CHANGE_SECURITY

#define REG_NOTIFY_CHANGE_SECURITY   8

Definition at line 41 of file winreg.h.

◆ REG_OPENED_EXISTING_KEY

#define REG_OPENED_EXISTING_KEY   2

Definition at line 23 of file winreg.h.

◆ REG_OPTION_NON_VOLATILE

#define REG_OPTION_NON_VOLATILE   0

Definition at line 21 of file winreg.h.

◆ REG_OPTION_VOLATILE

#define REG_OPTION_VOLATILE   1

Definition at line 20 of file winreg.h.

◆ REG_QWORD

#define REG_QWORD   11

Definition at line 37 of file winreg.h.

◆ REG_QWORD_LITTLE_ENDIAN

#define REG_QWORD_LITTLE_ENDIAN   11

Definition at line 36 of file winreg.h.

◆ REG_RESOURCE_LIST

#define REG_RESOURCE_LIST   8

Definition at line 33 of file winreg.h.

◆ REG_RESOURCE_REQUIREMENTS_LIST

#define REG_RESOURCE_REQUIREMENTS_LIST   10

Definition at line 35 of file winreg.h.

◆ REG_SZ

#define REG_SZ   1

Definition at line 25 of file winreg.h.

◆ RegConnectRegistry

#define RegConnectRegistry   RegConnectRegistryA

Definition at line 495 of file winreg.h.

◆ RegCreateKey

#define RegCreateKey   RegCreateKeyA

Definition at line 500 of file winreg.h.

◆ RegCreateKeyEx

#define RegCreateKeyEx   RegCreateKeyExA

Definition at line 501 of file winreg.h.

◆ RegDeleteKey

#define RegDeleteKey   RegDeleteKeyA

Definition at line 502 of file winreg.h.

◆ RegDeleteKeyEx

#define RegDeleteKeyEx   RegDeleteKeyExA

Definition at line 503 of file winreg.h.

◆ RegDeleteValue

#define RegDeleteValue   RegDeleteValueA

Definition at line 508 of file winreg.h.

◆ RegEnumKey

#define RegEnumKey   RegEnumKeyA

Definition at line 509 of file winreg.h.

◆ RegEnumKeyEx

#define RegEnumKeyEx   RegEnumKeyExA

Definition at line 510 of file winreg.h.

◆ RegEnumValue

#define RegEnumValue   RegEnumValueA

Definition at line 511 of file winreg.h.

◆ RegLoadKey

#define RegLoadKey   RegLoadKeyA

Definition at line 515 of file winreg.h.

◆ RegOpenKey

#define RegOpenKey   RegOpenKeyA

Definition at line 519 of file winreg.h.

◆ RegOpenKeyEx

#define RegOpenKeyEx   RegOpenKeyExA

Definition at line 520 of file winreg.h.

◆ RegQueryInfoKey

#define RegQueryInfoKey   RegQueryInfoKeyA

Definition at line 521 of file winreg.h.

◆ RegQueryMultipleValues

#define RegQueryMultipleValues   RegQueryMultipleValuesA

Definition at line 522 of file winreg.h.

◆ RegQueryValue

#define RegQueryValue   RegQueryValueA

Definition at line 523 of file winreg.h.

◆ RegQueryValueEx

#define RegQueryValueEx   RegQueryValueExA

Definition at line 524 of file winreg.h.

◆ RegReplaceKey

#define RegReplaceKey   RegReplaceKeyA

Definition at line 525 of file winreg.h.

◆ RegRestoreKey

#define RegRestoreKey   RegRestoreKeyA

Definition at line 526 of file winreg.h.

◆ RegSaveKey

#define RegSaveKey   RegSaveKeyA

Definition at line 527 of file winreg.h.

◆ RegSaveKeyEx

#define RegSaveKeyEx   RegSaveKeyExA

Definition at line 528 of file winreg.h.

◆ RegSetValue

#define RegSetValue   RegSetValueA

Definition at line 532 of file winreg.h.

◆ RegSetValueEx

#define RegSetValueEx   RegSetValueExA

Definition at line 533 of file winreg.h.

◆ RegUnLoadKey

#define RegUnLoadKey   RegUnLoadKeyA

Definition at line 534 of file winreg.h.

◆ RRF_NOEXPAND

#define RRF_NOEXPAND   (1 << 28)

Definition at line 65 of file winreg.h.

◆ RRF_RT_ANY

#define RRF_RT_ANY   (0x0000FFFF)

Definition at line 64 of file winreg.h.

◆ RRF_RT_DWORD

#define RRF_RT_DWORD   (RRF_RT_REG_BINARY | RRF_RT_REG_DWORD)

Definition at line 62 of file winreg.h.

◆ RRF_RT_QWORD

#define RRF_RT_QWORD   (RRF_RT_REG_BINARY | RRF_RT_REG_QWORD)

Definition at line 63 of file winreg.h.

◆ RRF_RT_REG_BINARY

#define RRF_RT_REG_BINARY   (1 << 3)

Definition at line 58 of file winreg.h.

◆ RRF_RT_REG_DWORD

#define RRF_RT_REG_DWORD   (1 << 4)

Definition at line 59 of file winreg.h.

◆ RRF_RT_REG_EXPAND_SZ

#define RRF_RT_REG_EXPAND_SZ   (1 << 2)

Definition at line 57 of file winreg.h.

◆ RRF_RT_REG_MULTI_SZ

#define RRF_RT_REG_MULTI_SZ   (1 << 5)

Definition at line 60 of file winreg.h.

◆ RRF_RT_REG_NONE

#define RRF_RT_REG_NONE   (1 << 0)

Definition at line 55 of file winreg.h.

◆ RRF_RT_REG_QWORD

#define RRF_RT_REG_QWORD   (1 << 6)

Definition at line 61 of file winreg.h.

◆ RRF_RT_REG_SZ

#define RRF_RT_REG_SZ   (1 << 1)

Definition at line 56 of file winreg.h.

◆ RRF_ZEROONFAILURE

#define RRF_ZEROONFAILURE   (1 << 29)

Definition at line 66 of file winreg.h.

◆ SHUTDOWN_FORCE_OTHERS

#define SHUTDOWN_FORCE_OTHERS   0x00000001

Definition at line 44 of file winreg.h.

◆ SHUTDOWN_FORCE_SELF

#define SHUTDOWN_FORCE_SELF   0x00000002

Definition at line 45 of file winreg.h.

◆ SHUTDOWN_GRACE_OVERRIDE

#define SHUTDOWN_GRACE_OVERRIDE   0x00000020

Definition at line 46 of file winreg.h.

◆ SHUTDOWN_INSTALL_UPDATES

#define SHUTDOWN_INSTALL_UPDATES   0x00000040

Definition at line 47 of file winreg.h.

◆ SHUTDOWN_NOREBOOT

#define SHUTDOWN_NOREBOOT   0x00000010

Definition at line 48 of file winreg.h.

◆ SHUTDOWN_POWEROFF

#define SHUTDOWN_POWEROFF   0x00000008

Definition at line 49 of file winreg.h.

◆ SHUTDOWN_RESTART

#define SHUTDOWN_RESTART   0x00000004

Definition at line 50 of file winreg.h.

◆ SHUTDOWN_RESTARTAPPS

#define SHUTDOWN_RESTARTAPPS   0x00000080

Definition at line 51 of file winreg.h.

Typedef Documentation

◆ PVALENT

typedef VALENTA * PVALENT

Definition at line 491 of file winreg.h.

◆ PVALENTA

◆ PVALENTW

◆ REGSAM

static REGSAM

Definition at line 69 of file winreg.h.

◆ VALENT

typedef VALENTA VALENT

Definition at line 491 of file winreg.h.

◆ VALENTA

◆ VALENTW

Function Documentation

◆ _Return_type_success_()

typedef _Return_type_success_ ( return  = =ERROR_SUCCESS)

◆ AbortSystemShutdownA()

BOOL WINAPI AbortSystemShutdownA ( _In_opt_  LPCSTR)

◆ AbortSystemShutdownW()

BOOL WINAPI AbortSystemShutdownW ( _In_opt_  LPCWSTR)

◆ InitiateSystemShutdownA()

BOOL WINAPI InitiateSystemShutdownA ( _In_opt_  LPSTR,
_In_opt_  LPSTR,
_In_  DWORD,
_In_  BOOL,
_In_  BOOL 
)

◆ InitiateSystemShutdownExA()

BOOL WINAPI InitiateSystemShutdownExA ( _In_opt_  LPSTR,
_In_opt_  LPSTR,
_In_  DWORD,
_In_  BOOL,
_In_  BOOL,
_In_  DWORD 
)

◆ InitiateSystemShutdownExW()

BOOL WINAPI InitiateSystemShutdownExW ( _In_opt_  LPWSTR,
_In_opt_  LPWSTR,
_In_  DWORD,
_In_  BOOL,
_In_  BOOL,
_In_  DWORD 
)

◆ InitiateSystemShutdownW()

BOOL WINAPI InitiateSystemShutdownW ( _In_opt_  LPWSTR,
_In_opt_  LPWSTR,
_In_  DWORD,
_In_  BOOL,
_In_  BOOL 
)

◆ RegCloseKey()

LSTATUS WINAPI RegCloseKey ( _In_ HKEY  hKey)

◆ RegConnectRegistryA()

LSTATUS WINAPI RegConnectRegistryA ( _In_opt_  LPCSTR,
_In_  HKEY,
_Out_  PHKEY 
)

◆ RegConnectRegistryW()

LSTATUS WINAPI RegConnectRegistryW ( _In_opt_  LPCWSTR,
_In_  HKEY,
_Out_  PHKEY 
)

◆ RegCreateKeyA()

LSTATUS WINAPI RegCreateKeyA ( _In_ HKEY  hKey,
_In_opt_ LPCSTR  lpSubKey,
_Out_ PHKEY  phkResult 
)

◆ RegCreateKeyExA()

LSTATUS WINAPI RegCreateKeyExA ( _In_ HKEY  hKey,
_In_ LPCSTR  lpSubKey,
_Reserved_ DWORD  Reserved,
_In_opt_ LPSTR  lpClass,
_In_ DWORD  dwOptions,
_In_ REGSAM  samDesired,
_In_opt_ LPSECURITY_ATTRIBUTES  lpSecurityAttributes,
_Out_ PHKEY  phkResult,
_Out_opt_ PDWORD  lpdwDisposition 
)

◆ RegCreateKeyExW()

LSTATUS WINAPI RegCreateKeyExW ( _In_ HKEY  hKey,
_In_ LPCWSTR  lpSubKey,
_Reserved_ DWORD  Reserved,
_In_opt_ LPWSTR  lpClass,
_In_ DWORD  dwOptions,
_In_ REGSAM  samDesired,
_In_opt_ LPSECURITY_ATTRIBUTES  lpSecurityAttributes,
_Out_ PHKEY  phkResult,
_Out_opt_ PDWORD  lpdwDisposition 
)

◆ RegCreateKeyW()

LSTATUS WINAPI RegCreateKeyW ( _In_ HKEY  hKey,
_In_opt_ LPCWSTR  lpSubKey,
_Out_ PHKEY  phkResult 
)

◆ RegDeleteKeyA()

LSTATUS WINAPI RegDeleteKeyA ( _In_ HKEY  hKey,
_In_ LPCSTR  lpSubKey 
)

Definition at line 1224 of file reg.c.

1227{
1228 return RegDeleteKeyExA(hKey, lpSubKey, 0, 0);
1229}
LONG WINAPI RegDeleteKeyExA(_In_ HKEY hKey, _In_ LPCSTR lpSubKey, _In_ REGSAM samDesired, _In_ DWORD Reserved)
Definition: reg.c:1254
FxAutoRegKey hKey

Referenced by cleanup_eventlog(), CryptUnregisterOIDFunction(), CryptUnregisterOIDInfo(), delete_container_key(), delete_key(), delete_key_(), delete_key_portable(), delete_tree(), delete_tree_(), DllUnregisterServer(), init_key(), is_elevated_process(), mru_RegDeleteTreeA(), myRegDeleteTreeA(), ok_registry(), reg_unreg_wine_test_class(), setperusersecvalues_test(), SHAddToRecentDocs(), SHDeleteEmptyKeyA(), SHDeleteOrphanKeyA(), START_TEST(), test_appsearch(), test_appsearch_reglocator(), test_classesroot(), test_debug_heap(), test_delete_key_value(), test_directshow_filter(), test_enum_value(), test_ExitCode(), test_install_from(), test_Installer_InstallProduct(), test_internet_features(), test_internet_features_registry(), test_key_formats(), test_MsiEnumPatches(), test_MsiEnumPatchesEx_userunmanaged(), test_MsiEnumProducts(), test_MsiGetComponentPath(), test_MsiGetComponentPathEx(), test_MsiGetPatchInfoEx(), test_MsiGetProductCode(), test_MsiGetProductInfoEx(), test_MsiGetProductProperty(), test_MsiGetUserInfo(), test_MsiInstallProduct(), test_MsiOpenProduct(), test_MsiQueryComponentState(), test_MsiQueryFeatureState(), test_MsiQueryProductState(), test_MsiSourceListAddMediaDisk(), test_MsiSourceListAddSource(), test_MsiSourceListEnumMediaDisks(), test_MsiSourceListEnumSources(), test_MsiSourceListGetInfo(), test_MsiSourceListSetInfo(), test_OleDoAutoConvert(), test_OleRegGetUserType(), test_open_class_key(), test_publish_components(), test_publish_product(), test_redirection(), test_reg_create_key(), test_reg_delete_key(), test_reg_open_key(), test_reg_query_info(), test_reg_query_value(), test_regcat(), test_register_product(), test_register_progid_info(), test_registerOIDFunction(), test_registry(), test_RegNotifyChangeKeyValue(), test_rw_order(), test_string_termination(), test_symlinks(), test_TreatAsClass(), test_write_registry_values(), test_zone_domain_cache(), testRegStore(), unregister_keys(), unregister_server(), unregister_testentry(), and unregister_zone_domains().

◆ RegDeleteKeyExA()

LSTATUS WINAPI RegDeleteKeyExA ( _In_ HKEY  hKey,
_In_ LPCSTR  lpSubKey,
_In_ REGSAM  samDesired,
_Reserved_ DWORD  Reserved 
)

◆ RegDeleteKeyExW()

LSTATUS WINAPI RegDeleteKeyExW ( _In_ HKEY  hKey,
_In_ LPCWSTR  lpSubKey,
_In_ REGSAM  samDesired,
_Reserved_ DWORD  Reserved 
)

◆ RegDeleteKeyW()

LSTATUS WINAPI RegDeleteKeyW ( _In_ HKEY  hKey,
_In_ LPCWSTR  lpSubKey 
)

Definition at line 1239 of file reg.c.

1242{
1243 return RegDeleteKeyExW(hKey, lpSubKey, 0, 0);
1244}
LONG WINAPI RegDeleteKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ REGSAM samDesired, _In_ DWORD Reserved)
Definition: reg.c:1286

Referenced by ACTION_UnregisterClassInfo(), ACTION_UnregisterExtensionInfo(), ACTION_UnregisterMIMEInfo(), ATL::AtlRegisterClassCategoriesHelper(), AtlRegisterClassCategoriesHelper(), CliSaveImeHotKey(), COMCAT_ICatRegister_UnRegisterCategories(), COMCAT_UnRegisterClassCategories(), CoTreatAsClass(), CredDeleteW(), CRYPT_RegWriteToReg(), CRYPT_SIPDeleteFunction(), del_mapping_key(), delete_key(), delete_local_assembly_key(), delete_test_key(), DeleteAppPath(), DeleteRegAppPath(), DeleteSubKey(), DeleteUninstallKey(), devinst_RegDeleteTreeW(), DllUnregisterServer(), DMOUnregister(), do_process_key(), ATL::CRegObject::do_process_key(), do_reg_operation(), FilterMapper3_UnregisterFilter(), FilterMapper_UnregisterFilter(), Imm32WriteImeLayout(), InputList_PrepareUserRegistry(), ITERATE_UnpublishComponent(), LocalAddMonitor(), MSACM_WriteCurrentPriorities(), myRegDeleteTreeW(), package_RegDeleteTreeW(), PNP_DeleteClassKey(), PNP_GetClassInstance(), reg_delete_tree(), RegDeleteTreeW(), ATL::CRegObject::RegDeleteTreeX(), RegisterSdbEntry(), RemoveEventLog(), run_delete(), ScmDeleteRegKey(), ServicesPageWndProc(), SETUP_CreateClassKey(), SHDeleteEmptyKeyW(), SHDeleteKeyW(), SHDeleteOrphanKeyW(), SHPropertyBag_OnRegKey(), SQLRemoveDriverW(), SQLRemoveTranslatorW(), START_TEST(), Test_CreateOpenKey(), test_DeletePwrScheme(), test_directshow_filter(), test_FolderShortcut(), test_install_class(), test_IQueryAssociations_GetString(), test_legacy_filter_registration(), test_OleRegGetUserType(), test_SetupDiInstallClassExA(), test_SHGetShellKey(), test_SQLGetPrivateProfileString(), test_SQLGetPrivateProfileStringW(), test_SQLWritePrivateProfileString(), test_StdRegProv(), test_system_security_access(), testCertOpenSystemStore(), testSystemRegStore(), testSystemStore(), TLB_unregister_interface(), UnloadUserProfile(), unregister_dmo_from_category(), unregister_mediatypes_parsing(), UnregisterComponent(), UnRegisterTypeLib(), WINTRUST_RemoveProviderFromReg(), and WNetCancelConnection2W().

◆ RegDeleteValueA()

LSTATUS WINAPI RegDeleteValueA ( _In_  HKEY,
_In_opt_  LPCSTR 
)

◆ RegDeleteValueW()

LSTATUS WINAPI RegDeleteValueW ( _In_  HKEY,
_In_opt_  LPCWSTR 
)

◆ RegEnumKeyA()

LSTATUS WINAPI RegEnumKeyA ( _In_ HKEY  hKey,
_In_ DWORD  dwIndex,
_Out_writes_opt_(cchName) LPSTR  lpName,
_In_ DWORD  cchName 
)

◆ RegEnumKeyExA()

LSTATUS WINAPI RegEnumKeyExA ( _In_ HKEY  hKey,
_In_ DWORD  dwIndex,
_Out_writes_to_opt_ *, *+1lpcchName LPSTR  lpName,
_Inout_ LPDWORD  lpcchName,
_Reserved_ LPDWORD  lpReserved,
_Out_writes_to_opt_ *, *+1lpcchClass LPSTR  lpClass,
_Inout_opt_ LPDWORD  lpcchClass,
_Out_opt_ PFILETIME  lpftLastWriteTime 
)

◆ RegEnumKeyExW()

LSTATUS WINAPI RegEnumKeyExW ( _In_ HKEY  hKey,
_In_ DWORD  dwIndex,
_Out_writes_to_opt_ *, *+1lpcchName LPWSTR  lpName,
_Inout_ LPDWORD  lpcchName,
_Reserved_ LPDWORD  lpReserved,
_Out_writes_to_opt_ *, *+1lpcchClass LPWSTR  lpClass,
_Inout_opt_ LPDWORD  lpcchClass,
_Out_opt_ PFILETIME  lpftLastWriteTime 
)

◆ RegEnumKeyW()

LSTATUS WINAPI RegEnumKeyW ( _In_ HKEY  hKey,
_In_ DWORD  dwIndex,
_Out_writes_opt_(cchName) LPWSTR  lpName,
_In_ DWORD  cchName 
)

◆ RegEnumValueA()

LSTATUS WINAPI RegEnumValueA ( _In_ HKEY  hKey,
_In_ DWORD  dwIndex,
_Out_writes_to_opt_ *, *+1lpcchValueName LPSTR  lpValueName,
_Inout_ LPDWORD  lpcchValueName,
_Reserved_ LPDWORD  lpReserved,
_Out_opt_ LPDWORD  lpType,
_Out_writes_bytes_to_opt_ *, *lpcbData __out_data_source(REGISTRY) LPBYTE  lpData,
_Inout_opt_ LPDWORD  lpcbData 
)

◆ RegEnumValueW()

LSTATUS WINAPI RegEnumValueW ( _In_ HKEY  hKey,
_In_ DWORD  dwIndex,
_Out_writes_to_opt_ *, *+1lpcchValueName LPWSTR  lpValueName,
_Inout_ LPDWORD  lpcchValueName,
_Reserved_ LPDWORD  lpReserved,
_Out_opt_ LPDWORD  lpType,
_Out_writes_bytes_to_opt_ *, *lpcbData __out_data_source(REGISTRY) LPBYTE  lpData,
_Inout_opt_ LPDWORD  lpcbData 
)

◆ RegFlushKey()

LSTATUS WINAPI RegFlushKey ( _In_  HKEY)

◆ RegGetKeySecurity()

LSTATUS WINAPI RegGetKeySecurity ( _In_ HKEY  hKey,
_In_ SECURITY_INFORMATION  SecurityInformation,
_Out_writes_bytes_opt_ *lpcbSecurityDescriptor PSECURITY_DESCRIPTOR  pSecurityDescriptor,
_Inout_ LPDWORD  lpcbSecurityDescriptor 
)

◆ RegLoadKeyA()

LSTATUS WINAPI RegLoadKeyA ( _In_  HKEY,
_In_opt_  LPCSTR,
_In_  LPCSTR 
)

◆ RegLoadKeyW()

LSTATUS WINAPI RegLoadKeyW ( _In_  HKEY,
_In_opt_  LPCWSTR,
_In_  LPCWSTR 
)

◆ RegNotifyChangeKeyValue()

LSTATUS WINAPI RegNotifyChangeKeyValue ( _In_  HKEY,
_In_  BOOL,
_In_  DWORD,
_In_opt_  HANDLE,
_In_  BOOL 
)

◆ RegOpenCurrentUser()

LSTATUS WINAPI RegOpenCurrentUser ( _In_  REGSAM,
_Out_  PHKEY 
)

◆ RegOpenKeyA()

LSTATUS WINAPI RegOpenKeyA ( _In_  HKEY,
_In_opt_  LPCSTR,
_Out_  PHKEY 
)

◆ RegOpenKeyExA()

LSTATUS WINAPI RegOpenKeyExA ( _In_  HKEY,
_In_opt_  LPCSTR,
_In_opt_  DWORD,
_In_  REGSAM,
_Out_  PHKEY 
)

◆ RegOpenKeyExW()

LSTATUS WINAPI RegOpenKeyExW ( _In_  HKEY,
_In_opt_  LPCWSTR,
_In_opt_  DWORD,
_In_  REGSAM,
_Out_  PHKEY 
)

◆ RegOpenKeyW()

LSTATUS WINAPI RegOpenKeyW ( _In_  HKEY,
_In_opt_  LPCWSTR,
_Out_  PHKEY 
)

◆ RegQueryInfoKeyA()

LSTATUS WINAPI RegQueryInfoKeyA ( _In_ HKEY  hKey,
_Out_writes_to_opt_ *, *+1lpcchClass LPSTR  lpClass,
_Inout_opt_ LPDWORD  lpcchClass,
_Reserved_ LPDWORD  lpReserved,
_Out_opt_ LPDWORD  lpcSubKeys,
_Out_opt_ LPDWORD  lpcbMaxSubKeyLen,
_Out_opt_ LPDWORD  lpcbMaxClassLen,
_Out_opt_ LPDWORD  lpcValues,
_Out_opt_ LPDWORD  lpcbMaxValueNameLen,
_Out_opt_ LPDWORD  lpcbMaxValueLen,
_Out_opt_ LPDWORD  lpcbSecurityDescriptor,
_Out_opt_ PFILETIME  lpftLastWriteTime 
)

◆ RegQueryInfoKeyW()

LSTATUS WINAPI RegQueryInfoKeyW ( _In_ HKEY  hKey,
_Out_writes_to_opt_ *, *+1lpcchClass LPWSTR  lpClass,
_Inout_opt_ LPDWORD  lpcchClass,
_Reserved_ LPDWORD  lpReserved,
_Out_opt_ LPDWORD  lpcSubKeys,
_Out_opt_ LPDWORD  lpcbMaxSubKeyLen,
_Out_opt_ LPDWORD  lpcbMaxClassLen,
_Out_opt_ LPDWORD  lpcValues,
_Out_opt_ LPDWORD  lpcbMaxValueNameLen,
_Out_opt_ LPDWORD  lpcbMaxValueLen,
_Out_opt_ LPDWORD  lpcbSecurityDescriptor,
_Out_opt_ PFILETIME  lpftLastWriteTime 
)

◆ RegQueryMultipleValuesA()

LSTATUS WINAPI RegQueryMultipleValuesA ( _In_ HKEY  hKey,
_Out_writes_(num_vals) PVALENTA  val_list,
_In_ DWORD  num_vals,
_Out_writes_bytes_to_opt_ *, *ldwTotsize __out_data_source(REGISTRY) LPSTR  lpValueBuf,
_Inout_opt_ LPDWORD  ldwTotsize 
)

◆ RegQueryMultipleValuesW()

LSTATUS WINAPI RegQueryMultipleValuesW ( _In_ HKEY  hKey,
_Out_writes_(num_vals) PVALENTW  val_list,
_In_ DWORD  num_vals,
_Out_writes_bytes_to_opt_ *, *ldwTotsize __out_data_source(REGISTRY) LPWSTR  lpValueBuf,
_Inout_opt_ LPDWORD  ldwTotsize 
)

◆ RegQueryValueA()

LSTATUS WINAPI RegQueryValueA ( _In_ HKEY  hKey,
_In_opt_ LPCSTR  lpSubKey,
_Out_writes_bytes_to_opt_ *, *lpcbData __out_data_source(REGISTRY) LPSTR  lpData,
_Inout_opt_ PLONG  lpcbData 
)

◆ RegQueryValueExA()

LSTATUS WINAPI RegQueryValueExA ( _In_ HKEY  hKey,
_In_opt_ LPCSTR  lpValueName,
_Reserved_ LPDWORD  lpReserved,
_Out_opt_ LPDWORD  lpType,
_Out_writes_bytes_to_opt_ *, *lpcbData __out_data_source(REGISTRY) LPBYTE  lpData,
_When_(lpData==NULL, _Out_opt_) _When_(lpData !=NULL, _Inout_opt_) LPDWORD  lpcbData 
)

◆ RegQueryValueExW()

LSTATUS WINAPI RegQueryValueExW ( _In_ HKEY  hKey,
_In_opt_ LPCWSTR  lpValueName,
_Reserved_ LPDWORD  lpReserved,
_Out_opt_ LPDWORD  lpType,
_Out_writes_bytes_to_opt_ *, *lpcbData __out_data_source(REGISTRY) LPBYTE  lpData,
_When_(lpData==NULL, _Out_opt_) _When_(lpData !=NULL, _Inout_opt_) LPDWORD  lpcbData 
)

◆ RegQueryValueW()

LSTATUS WINAPI RegQueryValueW ( _In_ HKEY  hKey,
_In_opt_ LPCWSTR  lpSubKey,
_Out_writes_bytes_to_opt_ *, *lpcbData __out_data_source(REGISTRY) LPWSTR  lpData,
_Inout_opt_ PLONG  lpcbData 
)

◆ RegReplaceKeyA()

LSTATUS WINAPI RegReplaceKeyA ( _In_  HKEY,
_In_opt_  LPCSTR,
_In_  LPCSTR,
_In_  LPCSTR 
)

◆ RegReplaceKeyW()

LSTATUS WINAPI RegReplaceKeyW ( _In_  HKEY,
_In_opt_  LPCWSTR,
_In_  LPCWSTR,
_In_  LPCWSTR 
)

◆ RegRestoreKeyA()

LSTATUS WINAPI RegRestoreKeyA ( _In_  HKEY,
_In_  LPCSTR,
_In_  DWORD 
)

◆ RegRestoreKeyW()

LSTATUS WINAPI RegRestoreKeyW ( _In_  HKEY,
_In_  LPCWSTR,
_In_  DWORD 
)

◆ RegSaveKeyA()

LSTATUS WINAPI RegSaveKeyA ( _In_  HKEY,
_In_  LPCSTR,
_In_opt_  LPSECURITY_ATTRIBUTES 
)

◆ RegSaveKeyW()

LSTATUS WINAPI RegSaveKeyW ( _In_  HKEY,
_In_  LPCWSTR,
_In_opt_  LPSECURITY_ATTRIBUTES 
)

◆ RegSetKeySecurity()

LSTATUS WINAPI RegSetKeySecurity ( _In_  HKEY,
_In_  SECURITY_INFORMATION,
_In_  PSECURITY_DESCRIPTOR 
)

◆ RegSetValueA()

LSTATUS WINAPI RegSetValueA ( _In_ HKEY  hKey,
_In_opt_ LPCSTR  lpSubKey,
_In_ DWORD  dwType,
_In_reads_bytes_opt_(cbData) LPCSTR  lpData,
_In_ DWORD  cbData 
)

◆ RegSetValueExA()

LSTATUS WINAPI RegSetValueExA ( _In_ HKEY  hKey,
_In_opt_ LPCSTR  lpValueName,
_Reserved_ DWORD  Reserved,
_In_ DWORD  dwType,
_In_reads_bytes_opt_(cbData) const BYTE lpData,
_In_ DWORD  cbData 
)

◆ RegSetValueExW()

LSTATUS WINAPI RegSetValueExW ( _In_ HKEY  hKey,
_In_opt_ LPCWSTR  lpValueName,
_Reserved_ DWORD  Reserved,
_In_ DWORD  dwType,
_In_reads_bytes_opt_(cbData) const BYTE lpData,
_In_ DWORD  cbData 
)

◆ RegSetValueW()

LSTATUS WINAPI RegSetValueW ( _In_ HKEY  hKey,
_In_opt_ LPCWSTR  lpSubKey,
_In_ DWORD  dwType,
_In_reads_bytes_opt_(cbData) LPCWSTR  lpData,
_In_ DWORD  cbData 
)

◆ RegUnLoadKeyA()

LSTATUS WINAPI RegUnLoadKeyA ( _In_  HKEY,
_In_opt_  LPCSTR 
)

◆ RegUnLoadKeyW()

LSTATUS WINAPI RegUnLoadKeyW ( _In_  HKEY,
_In_opt_  LPCWSTR 
)