advapi32: Add RegLoadAppKeyA/RegLoadAppKeyW stubs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41591 Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9bc28deffc
commit
acdedf4f0c
|
@ -648,8 +648,8 @@
|
||||||
@ stdcall RegGetKeySecurity(long long ptr ptr)
|
@ stdcall RegGetKeySecurity(long long ptr ptr)
|
||||||
@ stdcall RegGetValueA(long str str long ptr ptr ptr)
|
@ stdcall RegGetValueA(long str str long ptr ptr ptr)
|
||||||
@ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr)
|
@ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr)
|
||||||
# @ stub RegLoadAppKeyA
|
@ stdcall RegLoadAppKeyA(str ptr long long long)
|
||||||
# @ stub RegLoadAppKeyW
|
@ stdcall RegLoadAppKeyW(wstr ptr long long long)
|
||||||
@ stdcall RegLoadKeyA(long str str)
|
@ stdcall RegLoadKeyA(long str str)
|
||||||
@ stdcall RegLoadKeyW(long wstr wstr)
|
@ stdcall RegLoadKeyW(long wstr wstr)
|
||||||
@ stdcall RegLoadMUIStringA(long str str long ptr long str)
|
@ stdcall RegLoadMUIStringA(long str str long ptr long str)
|
||||||
|
|
|
@ -3514,3 +3514,33 @@ LONG WINAPI RegDisableReflectionKey(HKEY base)
|
||||||
FIXME("%p: stub\n", base);
|
FIXME("%p: stub\n", base);
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* RegLoadAppKeyA [ADVAPI32.@]
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
LSTATUS WINAPI RegLoadAppKeyA(const char *file, HKEY *result, REGSAM sam, DWORD options, DWORD reserved)
|
||||||
|
{
|
||||||
|
FIXME("%s %p %u %u %u: stub\n", wine_dbgstr_a(file), result, sam, options, reserved);
|
||||||
|
|
||||||
|
if (!file || reserved)
|
||||||
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
*result = (HKEY)0xdeadbeef;
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* RegLoadAppKeyW [ADVAPI32.@]
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
LSTATUS WINAPI RegLoadAppKeyW(const WCHAR *file, HKEY *result, REGSAM sam, DWORD options, DWORD reserved)
|
||||||
|
{
|
||||||
|
FIXME("%s %p %u %u %u: stub\n", wine_dbgstr_w(file), result, sam, options, reserved);
|
||||||
|
|
||||||
|
if (!file || reserved)
|
||||||
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
*result = (HKEY)0xdeadbeef;
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
@ stdcall RegGetKeySecurity(long long ptr ptr) advapi32.RegGetKeySecurity
|
@ stdcall RegGetKeySecurity(long long ptr ptr) advapi32.RegGetKeySecurity
|
||||||
@ stdcall RegGetValueA(long str str long ptr ptr ptr) advapi32.RegGetValueA
|
@ stdcall RegGetValueA(long str str long ptr ptr ptr) advapi32.RegGetValueA
|
||||||
@ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr) advapi32.RegGetValueW
|
@ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr) advapi32.RegGetValueW
|
||||||
@ stub RegLoadAppKeyA
|
@ stdcall RegLoadAppKeyA(str ptr long long long) advapi32.RegLoadAppKeyA
|
||||||
@ stub RegLoadAppKeyW
|
@ stdcall RegLoadAppKeyW(wstr ptr long long long) advapi32.RegLoadAppKeyW
|
||||||
@ stdcall RegLoadKeyA(long str str) advapi32.RegLoadKeyA
|
@ stdcall RegLoadKeyA(long str str) advapi32.RegLoadKeyA
|
||||||
@ stdcall RegLoadKeyW(long wstr wstr) advapi32.RegLoadKeyW
|
@ stdcall RegLoadKeyW(long wstr wstr) advapi32.RegLoadKeyW
|
||||||
@ stdcall RegLoadMUIStringA(long str str long ptr long str) advapi32.RegLoadMUIStringA
|
@ stdcall RegLoadMUIStringA(long str str long ptr long str) advapi32.RegLoadMUIStringA
|
||||||
|
|
|
@ -102,8 +102,8 @@
|
||||||
@ stdcall RegGetKeySecurity(long long ptr ptr) advapi32.RegGetKeySecurity
|
@ stdcall RegGetKeySecurity(long long ptr ptr) advapi32.RegGetKeySecurity
|
||||||
@ stdcall RegGetValueA(long str str long ptr ptr ptr) advapi32.RegGetValueA
|
@ stdcall RegGetValueA(long str str long ptr ptr ptr) advapi32.RegGetValueA
|
||||||
@ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr) advapi32.RegGetValueW
|
@ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr) advapi32.RegGetValueW
|
||||||
@ stub RegLoadAppKeyA
|
@ stdcall RegLoadAppKeyA(str ptr long long long) advapi32.RegLoadAppKeyA
|
||||||
@ stub RegLoadAppKeyW
|
@ stdcall RegLoadAppKeyW(wstr ptr long long long) advapi32.RegLoadAppKeyW
|
||||||
@ stdcall RegLoadKeyA(long str str) advapi32.RegLoadKeyA
|
@ stdcall RegLoadKeyA(long str str) advapi32.RegLoadKeyA
|
||||||
@ stdcall RegLoadKeyW(long wstr wstr) advapi32.RegLoadKeyW
|
@ stdcall RegLoadKeyW(long wstr wstr) advapi32.RegLoadKeyW
|
||||||
@ stdcall RegLoadMUIStringA(long str str long ptr long str) advapi32.RegLoadMUIStringA
|
@ stdcall RegLoadMUIStringA(long str str long ptr long str) advapi32.RegLoadMUIStringA
|
||||||
|
|
|
@ -1288,8 +1288,8 @@
|
||||||
# @ stub RegKrnResetAppKeyLoaded
|
# @ stub RegKrnResetAppKeyLoaded
|
||||||
# @ stub RegKrnSetDllHasThreadStateGlobal
|
# @ stub RegKrnSetDllHasThreadStateGlobal
|
||||||
# @ stub RegKrnSetTermsrvRegistryExtensionFlags
|
# @ stub RegKrnSetTermsrvRegistryExtensionFlags
|
||||||
# @ stub RegLoadAppKeyA
|
@ stdcall RegLoadAppKeyA(str ptr long long long) advapi32.RegLoadAppKeyA
|
||||||
# @ stub RegLoadAppKeyW
|
@ stdcall RegLoadAppKeyW(wstr ptr long long long) advapi32.RegLoadAppKeyW
|
||||||
@ stdcall -private RegLoadKeyA(long str str) kernel32.RegLoadKeyA
|
@ stdcall -private RegLoadKeyA(long str str) kernel32.RegLoadKeyA
|
||||||
@ stdcall -private RegLoadKeyW(long wstr wstr) kernel32.RegLoadKeyW
|
@ stdcall -private RegLoadKeyW(long wstr wstr) kernel32.RegLoadKeyW
|
||||||
@ stdcall -private RegLoadMUIStringA(long str str long ptr long str) kernel32.RegLoadMUIStringA
|
@ stdcall -private RegLoadMUIStringA(long str str long ptr long str) kernel32.RegLoadMUIStringA
|
||||||
|
|
|
@ -84,6 +84,10 @@ typedef LONG LSTATUS;
|
||||||
#define RRF_NOEXPAND (1 << 28)
|
#define RRF_NOEXPAND (1 << 28)
|
||||||
#define RRF_ZEROONFAILURE (1 << 29)
|
#define RRF_ZEROONFAILURE (1 << 29)
|
||||||
|
|
||||||
|
#define REG_PROCESS_APPKEY 0x00000001
|
||||||
|
|
||||||
|
#define REG_MUI_STRING_TRUNCATE 0x00000001
|
||||||
|
|
||||||
WINADVAPI BOOL WINAPI AbortSystemShutdownA(LPSTR);
|
WINADVAPI BOOL WINAPI AbortSystemShutdownA(LPSTR);
|
||||||
WINADVAPI BOOL WINAPI AbortSystemShutdownW(LPWSTR);
|
WINADVAPI BOOL WINAPI AbortSystemShutdownW(LPWSTR);
|
||||||
#define AbortSystemShutdown WINELIB_NAME_AW(AbortSystemShutdown)
|
#define AbortSystemShutdown WINELIB_NAME_AW(AbortSystemShutdown)
|
||||||
|
@ -133,6 +137,9 @@ WINADVAPI LSTATUS WINAPI RegGetKeySecurity(HKEY,SECURITY_INFORMATION,PSECURITY
|
||||||
WINADVAPI LSTATUS WINAPI RegGetValueA(HKEY,LPCSTR,LPCSTR,DWORD,LPDWORD,PVOID,LPDWORD);
|
WINADVAPI LSTATUS WINAPI RegGetValueA(HKEY,LPCSTR,LPCSTR,DWORD,LPDWORD,PVOID,LPDWORD);
|
||||||
WINADVAPI LSTATUS WINAPI RegGetValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,LPDWORD,PVOID,LPDWORD);
|
WINADVAPI LSTATUS WINAPI RegGetValueW(HKEY,LPCWSTR,LPCWSTR,DWORD,LPDWORD,PVOID,LPDWORD);
|
||||||
#define RegGetValue WINELIB_NAME_AW(RegGetValue)
|
#define RegGetValue WINELIB_NAME_AW(RegGetValue)
|
||||||
|
WINADVAPI LSTATUS WINAPI RegLoadAppKeyA(const char*,HKEY*,REGSAM,DWORD,DWORD);
|
||||||
|
WINADVAPI LSTATUS WINAPI RegLoadAppKeyW(const WCHAR*,HKEY*,REGSAM,DWORD,DWORD);
|
||||||
|
#define RegLoadAppKey WINELIB_NAME_AW(RegLoadAppKey)
|
||||||
WINADVAPI LSTATUS WINAPI RegLoadKeyA(HKEY,LPCSTR,LPCSTR);
|
WINADVAPI LSTATUS WINAPI RegLoadKeyA(HKEY,LPCSTR,LPCSTR);
|
||||||
WINADVAPI LSTATUS WINAPI RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR);
|
WINADVAPI LSTATUS WINAPI RegLoadKeyW(HKEY,LPCWSTR,LPCWSTR);
|
||||||
#define RegLoadKey WINELIB_NAME_AW(RegLoadKey)
|
#define RegLoadKey WINELIB_NAME_AW(RegLoadKey)
|
||||||
|
|
Loading…
Reference in New Issue