2012-08-16 22:14:49 +00:00
|
|
|
#ifndef _WINREG_H
|
|
|
|
#define _WINREG_H
|
2005-05-08 17:44:37 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2012-08-16 22:14:49 +00:00
|
|
|
|
|
|
|
#include <reason.h>
|
|
|
|
|
2005-09-10 10:31:22 +00:00
|
|
|
#define HKEY_CLASSES_ROOT ((HKEY)0x80000000)
|
|
|
|
#define HKEY_CURRENT_USER ((HKEY)0x80000001)
|
|
|
|
#define HKEY_LOCAL_MACHINE ((HKEY)0x80000002)
|
|
|
|
#define HKEY_USERS ((HKEY)0x80000003)
|
|
|
|
#define HKEY_PERFORMANCE_DATA ((HKEY)0x80000004)
|
|
|
|
#define HKEY_CURRENT_CONFIG ((HKEY)0x80000005)
|
|
|
|
#define HKEY_DYN_DATA ((HKEY)0x80000006)
|
2005-05-08 17:44:37 +00:00
|
|
|
#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
|
|
|
|
|
2012-08-16 22:14:49 +00:00
|
|
|
/* Shutdown flags for InitiateShutdownA/W */
|
|
|
|
#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
|
|
|
|
|
2006-06-21 21:20:28 +00:00
|
|
|
#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)
|
2007-11-25 21:47:17 +00:00
|
|
|
#define RRF_RT_ANY (0x0000FFFF)
|
2006-06-21 21:20:28 +00:00
|
|
|
#define RRF_NOEXPAND (1 << 28)
|
|
|
|
#define RRF_ZEROONFAILURE (1 << 29)
|
|
|
|
|
2005-05-08 17:44:37 +00:00
|
|
|
#ifndef RC_INVOKED
|
|
|
|
typedef ACCESS_MASK REGSAM;
|
2008-02-10 13:00:31 +00:00
|
|
|
typedef LONG LSTATUS;
|
2005-05-08 17:44:37 +00:00
|
|
|
typedef struct value_entA {
|
|
|
|
LPSTR ve_valuename;
|
|
|
|
DWORD ve_valuelen;
|
|
|
|
DWORD ve_valueptr;
|
|
|
|
DWORD ve_type;
|
|
|
|
} VALENTA,*PVALENTA;
|
|
|
|
typedef struct value_entW {
|
|
|
|
LPWSTR ve_valuename;
|
|
|
|
DWORD ve_valuelen;
|
|
|
|
DWORD ve_valueptr;
|
|
|
|
DWORD ve_type;
|
|
|
|
} VALENTW,*PVALENTW;
|
|
|
|
BOOL WINAPI AbortSystemShutdownA(LPCSTR);
|
|
|
|
BOOL WINAPI AbortSystemShutdownW(LPCWSTR);
|
2012-08-16 22:14:49 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
DWORD WINAPI InitiateShutdownA(LPSTR, LPSTR, DWORD, DWORD, DWORD);
|
|
|
|
DWORD WINAPI InitiateShutdownW(LPWSTR, LPWSTR, DWORD, DWORD, DWORD);
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
BOOL WINAPI InitiateSystemShutdownA(LPSTR,LPSTR,DWORD,BOOL,BOOL);
|
|
|
|
BOOL WINAPI InitiateSystemShutdownW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL);
|
2012-08-16 22:14:49 +00:00
|
|
|
BOOL WINAPI InitiateSystemShutdownExA(LPSTR,LPSTR,DWORD,BOOL,BOOL,DWORD);
|
|
|
|
BOOL WINAPI InitiateSystemShutdownExW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL,DWORD);
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegCloseKey(HKEY);
|
|
|
|
LONG WINAPI RegConnectRegistryA(LPCSTR,HKEY,PHKEY);
|
|
|
|
LONG WINAPI RegConnectRegistryW(LPCWSTR,HKEY,PHKEY);
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
LONG WINAPI RegCopyTreeA(HKEY,LPCSTR,HKEY);
|
|
|
|
LONG WINAPI RegCopyTreeW(HKEY,LPCWSTR,HKEY);
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegCreateKeyA(HKEY,LPCSTR,PHKEY);
|
|
|
|
LONG WINAPI RegCreateKeyExA(HKEY,LPCSTR,DWORD,LPSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,PDWORD);
|
|
|
|
LONG WINAPI RegCreateKeyExW(HKEY,LPCWSTR,DWORD,LPWSTR,DWORD,REGSAM,LPSECURITY_ATTRIBUTES,PHKEY,PDWORD);
|
|
|
|
LONG WINAPI RegCreateKeyW(HKEY,LPCWSTR,PHKEY);
|
|
|
|
LONG WINAPI RegDeleteKeyA(HKEY,LPCSTR);
|
2007-12-11 05:33:31 +00:00
|
|
|
LONG WINAPI RegDeleteKeyExA (HKEY,LPCSTR,REGSAM,DWORD);
|
|
|
|
LONG WINAPI RegDeleteKeyExW (HKEY,LPCWSTR,REGSAM,DWORD);
|
2005-09-10 10:31:22 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
2005-09-28 18:56:01 +00:00
|
|
|
LONG WINAPI RegDeleteKeyValueA(HKEY,LPCSTR,LPCSTR);
|
|
|
|
LONG WINAPI RegDeleteKeyValueW(HKEY,LPCWSTR,LPCWSTR);
|
2005-09-28 23:52:24 +00:00
|
|
|
#endif
|
|
|
|
LONG WINAPI RegDeleteKeyW(HKEY,LPCWSTR);
|
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
2005-09-10 10:31:22 +00:00
|
|
|
LONG WINAPI RegDeleteTreeA(HKEY,LPCSTR);
|
|
|
|
LONG WINAPI RegDeleteTreeW(HKEY,LPCWSTR);
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegDeleteValueA(HKEY,LPCSTR);
|
|
|
|
LONG WINAPI RegDeleteValueW(HKEY,LPCWSTR);
|
2006-01-14 23:17:26 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0500)
|
|
|
|
LONG WINAPI RegDisablePredefinedCache(VOID);
|
2009-02-05 13:47:51 +00:00
|
|
|
LONG WINAPI RegSaveKeyExA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES,DWORD);
|
|
|
|
LONG WINAPI RegSaveKeyExW(HKEY,LPCWSTR,LPSECURITY_ATTRIBUTES,DWORD);
|
2006-01-14 23:17:26 +00:00
|
|
|
#endif
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
LONG WINAPI RegDisablePredefinedCacheEx(VOID);
|
2006-01-14 23:17:26 +00:00
|
|
|
LONG WINAPI RegDisableReflectionKey(HKEY);
|
|
|
|
LONG WINAPI RegEnableReflectionKey(HKEY);
|
2005-09-28 18:56:01 +00:00
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegEnumKeyA(HKEY,DWORD,LPSTR,DWORD);
|
|
|
|
LONG WINAPI RegEnumKeyW(HKEY,DWORD,LPWSTR,DWORD);
|
|
|
|
LONG WINAPI RegEnumKeyExA(HKEY,DWORD,LPSTR,PDWORD,PDWORD,LPSTR,PDWORD,PFILETIME);
|
|
|
|
LONG WINAPI RegEnumKeyExW(HKEY,DWORD,LPWSTR,PDWORD,PDWORD,LPWSTR,PDWORD,PFILETIME);
|
|
|
|
LONG WINAPI RegEnumValueA(HKEY,DWORD,LPSTR,PDWORD,PDWORD,PDWORD,LPBYTE,PDWORD);
|
|
|
|
LONG WINAPI RegEnumValueW(HKEY,DWORD,LPWSTR,PDWORD,PDWORD,PDWORD,LPBYTE,PDWORD);
|
2006-06-21 21:20:28 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
LONG WINAPI RegGetValueA(HKEY,LPCSTR,LPCSTR,DWORD,LPDWORD,PVOID,LPDWORD);
|
|
|
|
LONG WINAPI RegGetValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,LPDWORD,PVOID,LPDWORD);
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegFlushKey(HKEY);
|
|
|
|
LONG WINAPI RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,PDWORD);
|
|
|
|
LONG WINAPI RegLoadKeyA(HKEY,LPCSTR,LPCSTR);
|
|
|
|
LONG WINAPI RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR);
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
2007-10-10 21:18:59 +00:00
|
|
|
LONG WINAPI RegLoadMUIStringA(HKEY,LPCSTR,LPSTR,DWORD,LPDWORD,DWORD,LPCSTR);
|
|
|
|
LONG WINAPI RegLoadMUIStringW(HKEY,LPCWSTR,LPWSTR,DWORD,LPDWORD,DWORD,LPCWSTR);
|
2005-09-28 18:56:01 +00:00
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegNotifyChangeKeyValue(HKEY,BOOL,DWORD,HANDLE,BOOL);
|
2006-02-27 20:30:08 +00:00
|
|
|
LONG WINAPI RegOpenCurrentUser(REGSAM,PHKEY);
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegOpenKeyA(HKEY,LPCSTR,PHKEY);
|
|
|
|
LONG WINAPI RegOpenKeyExA(HKEY,LPCSTR,DWORD,REGSAM,PHKEY);
|
|
|
|
LONG WINAPI RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY);
|
|
|
|
LONG WINAPI RegOpenKeyW(HKEY,LPCWSTR,PHKEY);
|
|
|
|
LONG WINAPI RegQueryInfoKeyA(HKEY,LPSTR,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PFILETIME);
|
|
|
|
LONG WINAPI RegQueryInfoKeyW(HKEY,LPWSTR,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PDWORD,PFILETIME);
|
|
|
|
LONG WINAPI RegQueryMultipleValuesA(HKEY,PVALENTA,DWORD,LPSTR,LPDWORD);
|
|
|
|
LONG WINAPI RegQueryMultipleValuesW(HKEY,PVALENTW,DWORD,LPWSTR,LPDWORD);
|
2006-01-14 23:17:26 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
LONG WINAPI RegQueryReflectionKey(HKEY,BOOL*);
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegQueryValueA(HKEY,LPCSTR,LPSTR,PLONG);
|
|
|
|
LONG WINAPI RegQueryValueExA(HKEY,LPCSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
|
|
|
|
LONG WINAPI RegQueryValueExW(HKEY,LPCWSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD);
|
|
|
|
LONG WINAPI RegQueryValueW(HKEY,LPCWSTR,LPWSTR,PLONG);
|
|
|
|
LONG WINAPI RegReplaceKeyA(HKEY,LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
LONG WINAPI RegReplaceKeyW(HKEY,LPCWSTR,LPCWSTR,LPCWSTR);
|
|
|
|
LONG WINAPI RegRestoreKeyA(HKEY,LPCSTR,DWORD);
|
|
|
|
LONG WINAPI RegRestoreKeyW(HKEY,LPCWSTR,DWORD);
|
|
|
|
LONG WINAPI RegSaveKeyA(HKEY,LPCSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
LONG WINAPI RegSaveKeyW(HKEY,LPCWSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
LONG WINAPI RegSetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
LONG WINAPI RegSetKeyValueA(HKEY,LPCSTR,LPCSTR,DWORD,LPCVOID,DWORD);
|
|
|
|
LONG WINAPI RegSetKeyValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,LPCVOID,DWORD);
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
LONG WINAPI RegSetValueA(HKEY,LPCSTR,DWORD,LPCSTR,DWORD);
|
|
|
|
LONG WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE*,DWORD);
|
|
|
|
LONG WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE*,DWORD);
|
|
|
|
LONG WINAPI RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD);
|
|
|
|
LONG WINAPI RegUnLoadKeyA(HKEY,LPCSTR);
|
|
|
|
LONG WINAPI RegUnLoadKeyW(HKEY,LPCWSTR);
|
|
|
|
|
|
|
|
#ifdef UNICODE
|
|
|
|
typedef VALENTW VALENT,*PVALENT;
|
|
|
|
#define AbortSystemShutdown AbortSystemShutdownW
|
|
|
|
#define InitiateSystemShutdown InitiateSystemShutdownW
|
2012-08-16 22:14:49 +00:00
|
|
|
#define InitiateSystemShutdownEx InitiateSystemShutdownExW
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegConnectRegistry RegConnectRegistryW
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
2012-08-16 22:14:49 +00:00
|
|
|
#define InitiateShutdown InitiateShutdownW
|
2005-09-28 18:56:01 +00:00
|
|
|
#define RegCopyTree RegCopyTreeW
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegCreateKey RegCreateKeyW
|
|
|
|
#define RegCreateKeyEx RegCreateKeyExW
|
|
|
|
#define RegDeleteKey RegDeleteKeyW
|
2007-12-11 05:33:31 +00:00
|
|
|
#define RegDeleteKeyEx RegDeleteKeyExW
|
2005-09-10 10:31:22 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
2005-09-28 18:56:01 +00:00
|
|
|
#define RegDeleteKeyValue RegDeleteKeyValueW
|
2005-09-10 10:31:22 +00:00
|
|
|
#define RegDeleteTree RegDeleteTreeW
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegDeleteValue RegDeleteValueW
|
|
|
|
#define RegEnumKey RegEnumKeyW
|
|
|
|
#define RegEnumKeyEx RegEnumKeyExW
|
|
|
|
#define RegEnumValue RegEnumValueW
|
2006-06-21 21:20:28 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
#define RegGetValue RegGetValueW
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegLoadKey RegLoadKeyW
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
#define RegLoadMUIString RegLoadMUIStringW
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegOpenKey RegOpenKeyW
|
|
|
|
#define RegOpenKeyEx RegOpenKeyExW
|
|
|
|
#define RegQueryInfoKey RegQueryInfoKeyW
|
|
|
|
#define RegQueryMultipleValues RegQueryMultipleValuesW
|
|
|
|
#define RegQueryValue RegQueryValueW
|
|
|
|
#define RegQueryValueEx RegQueryValueExW
|
|
|
|
#define RegReplaceKey RegReplaceKeyW
|
|
|
|
#define RegRestoreKey RegRestoreKeyW
|
|
|
|
#define RegSaveKey RegSaveKeyW
|
2009-02-05 13:47:51 +00:00
|
|
|
#define RegSaveKeyEx RegSaveKeyExW
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
#define RegSetKeyValue RegSetKeyValueW
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegSetValue RegSetValueW
|
|
|
|
#define RegSetValueEx RegSetValueExW
|
|
|
|
#define RegUnLoadKey RegUnLoadKeyW
|
|
|
|
#else
|
|
|
|
typedef VALENTA VALENT,*PVALENT;
|
|
|
|
#define AbortSystemShutdown AbortSystemShutdownA
|
|
|
|
#define InitiateSystemShutdown InitiateSystemShutdownA
|
2012-08-16 22:14:49 +00:00
|
|
|
#define InitiateSystemShutdownEx InitiateSystemShutdownExA
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegConnectRegistry RegConnectRegistryA
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
2012-08-16 22:14:49 +00:00
|
|
|
#define InitiateShutdown InitiateShutdownA
|
2005-09-28 18:56:01 +00:00
|
|
|
#define RegCopyTree RegCopyTreeA
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegCreateKey RegCreateKeyA
|
|
|
|
#define RegCreateKeyEx RegCreateKeyExA
|
|
|
|
#define RegDeleteKey RegDeleteKeyA
|
2007-12-11 05:33:31 +00:00
|
|
|
#define RegDeleteKeyEx RegDeleteKeyExA
|
2005-09-10 10:31:22 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
2005-09-28 18:56:01 +00:00
|
|
|
#define RegDeleteKeyValue RegDeleteKeyValueA
|
2005-09-10 10:31:22 +00:00
|
|
|
#define RegDeleteTree RegDeleteTreeA
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegDeleteValue RegDeleteValueA
|
|
|
|
#define RegEnumKey RegEnumKeyA
|
|
|
|
#define RegEnumKeyEx RegEnumKeyExA
|
|
|
|
#define RegEnumValue RegEnumValueA
|
2006-06-21 21:20:28 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
#define RegGetValue RegGetValueA
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegLoadKey RegLoadKeyA
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
#define RegLoadMUIString RegLoadMUIStringA
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#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
|
2009-02-05 13:47:51 +00:00
|
|
|
#define RegSaveKeyEx RegSaveKeyExA
|
2005-09-28 18:56:01 +00:00
|
|
|
#if (_WIN32_WINNT >= 0x0600)
|
|
|
|
#define RegSetKeyValue RegSetKeyValueA
|
|
|
|
#endif
|
2005-05-08 17:44:37 +00:00
|
|
|
#define RegSetValue RegSetValueA
|
|
|
|
#define RegSetValueEx RegSetValueExA
|
|
|
|
#define RegUnLoadKey RegUnLoadKeyA
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|