advapi32: Move registry functions to kernelbase.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-06-25 12:34:15 +02:00
parent 7c2d5a7c25
commit c7548d6c4f
7 changed files with 3225 additions and 3232 deletions

View File

@ -1,6 +1,7 @@
EXTRADEFS = -D_ADVAPI32_ EXTRADEFS = -D_ADVAPI32_
MODULE = advapi32.dll MODULE = advapi32.dll
IMPORTLIB = advapi32 IMPORTLIB = advapi32
IMPORTS = kernelbase
DELAYIMPORTS = rpcrt4 DELAYIMPORTS = rpcrt4
EXTRALIBS = $(SECURITY_LIBS) EXTRALIBS = $(SECURITY_LIBS)

View File

@ -272,7 +272,7 @@
# @ stub EncryptionDisable # @ stub EncryptionDisable
@ stdcall EnumDependentServicesA(long long ptr long ptr ptr) @ stdcall EnumDependentServicesA(long long ptr long ptr ptr)
@ stdcall EnumDependentServicesW(long long ptr long ptr ptr) @ stdcall EnumDependentServicesW(long long ptr long ptr ptr)
@ stdcall EnumDynamicTimeZoneInformation(long ptr) EnumDynamicTimeZoneInformation @ stdcall -import EnumDynamicTimeZoneInformation(long ptr)
@ stub EnumServiceGroupA @ stub EnumServiceGroupA
@ stub EnumServiceGroupW @ stub EnumServiceGroupW
@ stdcall EnumServicesStatusA (long long long ptr long ptr ptr ptr) @ stdcall EnumServicesStatusA (long long long ptr long ptr ptr ptr)
@ -611,89 +611,89 @@
@ stdcall ReadEncryptedFileRaw(ptr ptr ptr) @ stdcall ReadEncryptedFileRaw(ptr ptr ptr)
@ stdcall ReadEventLogA (long long long ptr long ptr ptr) @ stdcall ReadEventLogA (long long long ptr long ptr ptr)
@ stdcall ReadEventLogW (long long long ptr long ptr ptr) @ stdcall ReadEventLogW (long long long ptr long ptr ptr)
@ stdcall RegCloseKey(long) @ stdcall -import RegCloseKey(long)
@ stdcall RegConnectRegistryA(str long ptr) @ stdcall RegConnectRegistryA(str long ptr)
# @ stub RegConnectRegistryExA # @ stub RegConnectRegistryExA
# @ stub RegConnectRegistryExW # @ stub RegConnectRegistryExW
@ stdcall RegConnectRegistryW(wstr long ptr) @ stdcall RegConnectRegistryW(wstr long ptr)
@ stdcall RegCopyTreeA(long str long) @ stdcall RegCopyTreeA(long str long)
@ stdcall RegCopyTreeW(long wstr long) @ stdcall -import RegCopyTreeW(long wstr long)
@ stdcall RegCreateKeyA(long str ptr) @ stdcall RegCreateKeyA(long str ptr)
@ stdcall RegCreateKeyExA(long str long ptr long long ptr ptr ptr) @ stdcall -import RegCreateKeyExA(long str long ptr long long ptr ptr ptr)
@ stdcall RegCreateKeyExW(long wstr long ptr long long ptr ptr ptr) @ stdcall -import RegCreateKeyExW(long wstr long ptr long long ptr ptr ptr)
@ stdcall RegCreateKeyTransactedA(long str long ptr long long ptr ptr ptr long ptr) @ stdcall RegCreateKeyTransactedA(long str long ptr long long ptr ptr ptr long ptr)
@ stdcall RegCreateKeyTransactedW(long wstr long ptr long long ptr ptr ptr long ptr) @ stdcall RegCreateKeyTransactedW(long wstr long ptr long long ptr ptr ptr long ptr)
@ stdcall RegCreateKeyW(long wstr ptr) @ stdcall RegCreateKeyW(long wstr ptr)
@ stdcall RegDeleteKeyA(long str) @ stdcall RegDeleteKeyA(long str)
@ stdcall RegDeleteKeyExA(long str long long) @ stdcall -import RegDeleteKeyExA(long str long long)
@ stdcall RegDeleteKeyExW(long wstr long long) @ stdcall -import RegDeleteKeyExW(long wstr long long)
# @ stub RegDeleteKeyTransactedA # @ stub RegDeleteKeyTransactedA
# @ stub RegDeleteKeyTransactedW # @ stub RegDeleteKeyTransactedW
@ stdcall RegDeleteKeyValueA(long str str) @ stdcall -import RegDeleteKeyValueA(long str str)
@ stdcall RegDeleteKeyValueW(long wstr wstr) @ stdcall -import RegDeleteKeyValueW(long wstr wstr)
@ stdcall RegDeleteKeyW(long wstr) @ stdcall RegDeleteKeyW(long wstr)
@ stdcall RegDeleteTreeA(long str) @ stdcall -import RegDeleteTreeA(long str)
@ stdcall RegDeleteTreeW(long wstr) @ stdcall -import RegDeleteTreeW(long wstr)
@ stdcall RegDeleteValueA(long str) @ stdcall -import RegDeleteValueA(long str)
@ stdcall RegDeleteValueW(long wstr) @ stdcall -import RegDeleteValueW(long wstr)
@ stdcall RegDisablePredefinedCache() @ stdcall RegDisablePredefinedCache()
# @ stub RegDisablePredefinedCacheEx # @ stub RegDisablePredefinedCacheEx
@ stdcall RegDisableReflectionKey(ptr) @ stdcall RegDisableReflectionKey(ptr)
# @ stub RegEnableReflectionKey # @ stub RegEnableReflectionKey
@ stdcall RegEnumKeyA(long long ptr long) @ stdcall RegEnumKeyA(long long ptr long)
@ stdcall RegEnumKeyExA(long long ptr ptr ptr ptr ptr ptr) @ stdcall -import RegEnumKeyExA(long long ptr ptr ptr ptr ptr ptr)
@ stdcall RegEnumKeyExW(long long ptr ptr ptr ptr ptr ptr) @ stdcall -import RegEnumKeyExW(long long ptr ptr ptr ptr ptr ptr)
@ stdcall RegEnumKeyW(long long ptr long) @ stdcall RegEnumKeyW(long long ptr long)
@ stdcall RegEnumValueA(long long ptr ptr ptr ptr ptr ptr) @ stdcall -import RegEnumValueA(long long ptr ptr ptr ptr ptr ptr)
@ stdcall RegEnumValueW(long long ptr ptr ptr ptr ptr ptr) @ stdcall -import RegEnumValueW(long long ptr ptr ptr ptr ptr ptr)
@ stdcall RegFlushKey(long) @ stdcall -import RegFlushKey(long)
@ stdcall RegGetKeySecurity(long long ptr ptr) @ stdcall -import RegGetKeySecurity(long long ptr ptr)
@ stdcall RegGetValueA(long str str long ptr ptr ptr) @ stdcall -import RegGetValueA(long str str long ptr ptr ptr)
@ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr) @ stdcall -import RegGetValueW(long wstr wstr long ptr ptr ptr)
@ stdcall RegLoadAppKeyA(str ptr long long long) @ stdcall -import RegLoadAppKeyA(str ptr long long long)
@ stdcall RegLoadAppKeyW(wstr ptr long long long) @ stdcall -import RegLoadAppKeyW(wstr ptr long long long)
@ stdcall RegLoadKeyA(long str str) @ stdcall -import RegLoadKeyA(long str str)
@ stdcall RegLoadKeyW(long wstr wstr) @ stdcall -import RegLoadKeyW(long wstr wstr)
@ stdcall RegLoadMUIStringA(long str str long ptr long str) @ stdcall -import RegLoadMUIStringA(long str str long ptr long str)
@ stdcall RegLoadMUIStringW(long wstr wstr long ptr long wstr) @ stdcall -import RegLoadMUIStringW(long wstr wstr long ptr long wstr)
@ stdcall RegNotifyChangeKeyValue(long long long long long) @ stdcall -import RegNotifyChangeKeyValue(long long long long long)
@ stdcall RegOpenCurrentUser(long ptr) @ stdcall -import RegOpenCurrentUser(long ptr)
@ stdcall RegOpenKeyA(long str ptr) @ stdcall RegOpenKeyA(long str ptr)
@ stdcall RegOpenKeyExA(long str long long ptr) @ stdcall -import RegOpenKeyExA(long str long long ptr)
@ stdcall RegOpenKeyExW(long wstr long long ptr) @ stdcall -import RegOpenKeyExW(long wstr long long ptr)
# @ stub RegOpenKeyTransactedA # @ stub RegOpenKeyTransactedA
# @ stub RegOpenKeyTransactedW # @ stub RegOpenKeyTransactedW
@ stdcall RegOpenKeyW(long wstr ptr) @ stdcall RegOpenKeyW(long wstr ptr)
@ stdcall RegOpenUserClassesRoot(ptr long long ptr) @ stdcall -import RegOpenUserClassesRoot(ptr long long ptr)
@ stdcall RegOverridePredefKey(long long) @ stdcall RegOverridePredefKey(long long)
@ stdcall RegQueryInfoKeyA(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) @ stdcall -import RegQueryInfoKeyA(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr)
@ stdcall RegQueryInfoKeyW(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) @ stdcall -import RegQueryInfoKeyW(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr)
@ stdcall RegQueryMultipleValuesA(long ptr long ptr ptr) @ stdcall RegQueryMultipleValuesA(long ptr long ptr ptr)
@ stdcall RegQueryMultipleValuesW(long ptr long ptr ptr) @ stdcall RegQueryMultipleValuesW(long ptr long ptr ptr)
@ stdcall RegQueryReflectionKey(long ptr) @ stdcall RegQueryReflectionKey(long ptr)
@ stdcall RegQueryValueA(long str ptr ptr) @ stdcall RegQueryValueA(long str ptr ptr)
@ stdcall RegQueryValueExA(long str ptr ptr ptr ptr) @ stdcall -import RegQueryValueExA(long str ptr ptr ptr ptr)
@ stdcall RegQueryValueExW(long wstr ptr ptr ptr ptr) @ stdcall -import RegQueryValueExW(long wstr ptr ptr ptr ptr)
@ stdcall RegQueryValueW(long wstr ptr ptr) @ stdcall RegQueryValueW(long wstr ptr ptr)
@ stub RegRemapPreDefKey @ stub RegRemapPreDefKey
# @ stub RegRenameKey # @ stub RegRenameKey
@ stdcall RegReplaceKeyA(long str str str) @ stdcall RegReplaceKeyA(long str str str)
@ stdcall RegReplaceKeyW(long wstr wstr wstr) @ stdcall RegReplaceKeyW(long wstr wstr wstr)
@ stdcall RegRestoreKeyA(long str long) @ stdcall -import RegRestoreKeyA(long str long)
@ stdcall RegRestoreKeyW(long wstr long) @ stdcall -import RegRestoreKeyW(long wstr long)
@ stdcall RegSaveKeyA(long ptr ptr) @ stdcall RegSaveKeyA(long ptr ptr)
@ stdcall RegSaveKeyExA(long str ptr long) @ stdcall -import RegSaveKeyExA(long str ptr long)
@ stdcall RegSaveKeyExW(long wstr ptr long) @ stdcall -import RegSaveKeyExW(long wstr ptr long)
@ stdcall RegSaveKeyW(long ptr ptr) @ stdcall RegSaveKeyW(long ptr ptr)
@ stdcall RegSetKeySecurity(long long ptr) @ stdcall -import RegSetKeySecurity(long long ptr)
@ stdcall RegSetKeyValueA(long str str long ptr long) @ stdcall -import RegSetKeyValueA(long str str long ptr long)
@ stdcall RegSetKeyValueW(long wstr wstr long ptr long) @ stdcall -import RegSetKeyValueW(long wstr wstr long ptr long)
@ stdcall RegSetValueA(long str long ptr long) @ stdcall RegSetValueA(long str long ptr long)
@ stdcall RegSetValueExA(long str long long ptr long) @ stdcall -import RegSetValueExA(long str long long ptr long)
@ stdcall RegSetValueExW(long wstr long long ptr long) @ stdcall -import RegSetValueExW(long wstr long long ptr long)
@ stdcall RegSetValueW(long wstr long ptr long) @ stdcall RegSetValueW(long wstr long ptr long)
@ stdcall RegUnLoadKeyA(long str) @ stdcall -import RegUnLoadKeyA(long str)
@ stdcall RegUnLoadKeyW(long wstr) @ stdcall -import RegUnLoadKeyW(long wstr)
@ stdcall RegisterEventSourceA(str str) @ stdcall RegisterEventSourceA(str str)
@ stdcall RegisterEventSourceW(wstr wstr) @ stdcall RegisterEventSourceW(wstr wstr)
# @ stub RegisterIdleTask # @ stub RegisterIdleTask

File diff suppressed because it is too large Load Diff

View File

@ -262,7 +262,7 @@
@ stdcall DeleteVolumeMountPointW(wstr) kernel32.DeleteVolumeMountPointW @ stdcall DeleteVolumeMountPointW(wstr) kernel32.DeleteVolumeMountPointW
@ stdcall DestroyPrivateObjectSecurity(ptr) advapi32.DestroyPrivateObjectSecurity @ stdcall DestroyPrivateObjectSecurity(ptr) advapi32.DestroyPrivateObjectSecurity
@ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr) kernel32.DeviceIoControl @ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr) kernel32.DeviceIoControl
# @ stub DisablePredefinedHandleTableInternal @ stdcall DisablePredefinedHandleTableInternal(long)
@ stdcall DisableThreadLibraryCalls(long) kernel32.DisableThreadLibraryCalls @ stdcall DisableThreadLibraryCalls(long) kernel32.DisableThreadLibraryCalls
@ stdcall DisassociateCurrentThreadFromCallback(ptr) kernel32.DisassociateCurrentThreadFromCallback @ stdcall DisassociateCurrentThreadFromCallback(ptr) kernel32.DisassociateCurrentThreadFromCallback
# @ stub DiscardVirtualMemory # @ stub DiscardVirtualMemory
@ -297,7 +297,7 @@
@ stdcall EnumDateFormatsExW(ptr long long) kernel32.EnumDateFormatsExW @ stdcall EnumDateFormatsExW(ptr long long) kernel32.EnumDateFormatsExW
@ stdcall EnumDateFormatsW(ptr long long) kernel32.EnumDateFormatsW @ stdcall EnumDateFormatsW(ptr long long) kernel32.EnumDateFormatsW
# @ stub EnumDeviceDrivers # @ stub EnumDeviceDrivers
@ stdcall EnumDynamicTimeZoneInformation(long ptr) advapi32.EnumDynamicTimeZoneInformation @ stdcall EnumDynamicTimeZoneInformation(long ptr)
@ stdcall EnumLanguageGroupLocalesW(ptr long long ptr) kernel32.EnumLanguageGroupLocalesW @ stdcall EnumLanguageGroupLocalesW(ptr long long ptr) kernel32.EnumLanguageGroupLocalesW
# @ stub EnumPageFilesA # @ stub EnumPageFilesA
# @ stub EnumPageFilesW # @ stub EnumPageFilesW
@ -1256,31 +1256,31 @@
# @ stub ReclaimVirtualMemory # @ stub ReclaimVirtualMemory
# @ stub RefreshPolicyExInternal # @ stub RefreshPolicyExInternal
# @ stub RefreshPolicyInternal # @ stub RefreshPolicyInternal
@ stdcall -private RegCloseKey(long) kernel32.RegCloseKey @ stdcall RegCloseKey(long)
@ stdcall RegCopyTreeW(long wstr long) advapi32.RegCopyTreeW @ stdcall RegCopyTreeW(long wstr long)
@ stdcall -private RegCreateKeyExA(long str long ptr long long ptr ptr ptr) kernel32.RegCreateKeyExA @ stdcall RegCreateKeyExA(long str long ptr long long ptr ptr ptr)
# @ stub RegCreateKeyExInternalA # @ stub RegCreateKeyExInternalA
# @ stub RegCreateKeyExInternalW # @ stub RegCreateKeyExInternalW
@ stdcall -private RegCreateKeyExW(long wstr long ptr long long ptr ptr ptr) kernel32.RegCreateKeyExW @ stdcall RegCreateKeyExW(long wstr long ptr long long ptr ptr ptr)
@ stdcall -private RegDeleteKeyExA(long str long long) kernel32.RegDeleteKeyExA @ stdcall RegDeleteKeyExA(long str long long)
# @ stub RegDeleteKeyExInternalA # @ stub RegDeleteKeyExInternalA
# @ stub RegDeleteKeyExInternalW # @ stub RegDeleteKeyExInternalW
@ stdcall -private RegDeleteKeyExW(long wstr long long) kernel32.RegDeleteKeyExW @ stdcall RegDeleteKeyExW(long wstr long long)
@ stdcall RegDeleteKeyValueA(long str str) advapi32.RegDeleteKeyValueA @ stdcall RegDeleteKeyValueA(long str str)
@ stdcall RegDeleteKeyValueW(long wstr wstr) advapi32.RegDeleteKeyValueW @ stdcall RegDeleteKeyValueW(long wstr wstr)
@ stdcall -private RegDeleteTreeA(long str) kernel32.RegDeleteTreeA @ stdcall RegDeleteTreeA(long str)
@ stdcall -private RegDeleteTreeW(long wstr) kernel32.RegDeleteTreeW @ stdcall RegDeleteTreeW(long wstr)
@ stdcall -private RegDeleteValueA(long str) kernel32.RegDeleteValueA @ stdcall RegDeleteValueA(long str)
@ stdcall -private RegDeleteValueW(long wstr) kernel32.RegDeleteValueW @ stdcall RegDeleteValueW(long wstr)
# @ stub RegDisablePredefinedCacheEx # @ stub RegDisablePredefinedCacheEx
@ stdcall -private RegEnumKeyExA(long long ptr ptr ptr ptr ptr ptr) kernel32.RegEnumKeyExA @ stdcall RegEnumKeyExA(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -private RegEnumKeyExW(long long ptr ptr ptr ptr ptr ptr) kernel32.RegEnumKeyExW @ stdcall RegEnumKeyExW(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -private RegEnumValueA(long long ptr ptr ptr ptr ptr ptr) kernel32.RegEnumValueA @ stdcall RegEnumValueA(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -private RegEnumValueW(long long ptr ptr ptr ptr ptr ptr) kernel32.RegEnumValueW @ stdcall RegEnumValueW(long long ptr ptr ptr ptr ptr ptr)
@ stdcall -private RegFlushKey(long) kernel32.RegFlushKey @ stdcall RegFlushKey(long)
@ stdcall -private RegGetKeySecurity(long long ptr ptr) kernel32.RegGetKeySecurity @ stdcall RegGetKeySecurity(long long ptr ptr)
@ stdcall -private RegGetValueA(long str str long ptr ptr ptr) kernel32.RegGetValueA @ stdcall RegGetValueA(long str str long ptr ptr ptr)
@ stdcall -private RegGetValueW(long wstr wstr long ptr ptr ptr) kernel32.RegGetValueW @ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr)
# @ stub RegKrnGetAppKeyEventAddressInternal # @ stub RegKrnGetAppKeyEventAddressInternal
# @ stub RegKrnGetAppKeyLoaded # @ stub RegKrnGetAppKeyLoaded
# @ stub RegKrnGetClassesEnumTableAddressInternal # @ stub RegKrnGetClassesEnumTableAddressInternal
@ -1289,34 +1289,34 @@
# @ stub RegKrnResetAppKeyLoaded # @ stub RegKrnResetAppKeyLoaded
# @ stub RegKrnSetDllHasThreadStateGlobal # @ stub RegKrnSetDllHasThreadStateGlobal
# @ stub RegKrnSetTermsrvRegistryExtensionFlags # @ stub RegKrnSetTermsrvRegistryExtensionFlags
@ stdcall RegLoadAppKeyA(str ptr long long long) advapi32.RegLoadAppKeyA @ stdcall RegLoadAppKeyA(str ptr long long long)
@ stdcall RegLoadAppKeyW(wstr ptr long long long) advapi32.RegLoadAppKeyW @ stdcall RegLoadAppKeyW(wstr ptr long long long)
@ stdcall -private RegLoadKeyA(long str str) kernel32.RegLoadKeyA @ stdcall RegLoadKeyA(long str str)
@ stdcall -private RegLoadKeyW(long wstr wstr) kernel32.RegLoadKeyW @ stdcall RegLoadKeyW(long wstr wstr)
@ stdcall -private RegLoadMUIStringA(long str str long ptr long str) kernel32.RegLoadMUIStringA @ stdcall RegLoadMUIStringA(long str str long ptr long str)
@ stdcall -private RegLoadMUIStringW(long wstr wstr long ptr long wstr) kernel32.RegLoadMUIStringW @ stdcall RegLoadMUIStringW(long wstr wstr long ptr long wstr)
@ stdcall -private RegNotifyChangeKeyValue(long long long long long) kernel32.RegNotifyChangeKeyValue @ stdcall RegNotifyChangeKeyValue(long long long long long)
@ stdcall -private RegOpenCurrentUser(long ptr) kernel32.RegOpenCurrentUser @ stdcall RegOpenCurrentUser(long ptr)
@ stdcall -private RegOpenKeyExA(long str long long ptr) kernel32.RegOpenKeyExA @ stdcall RegOpenKeyExA(long str long long ptr)
# @ stub RegOpenKeyExInternalA # @ stub RegOpenKeyExInternalA
# @ stub RegOpenKeyExInternalW # @ stub RegOpenKeyExInternalW
@ stdcall -private RegOpenKeyExW(long wstr long long ptr) kernel32.RegOpenKeyExW @ stdcall RegOpenKeyExW(long wstr long long ptr)
@ stdcall -private RegOpenUserClassesRoot(ptr long long ptr) kernel32.RegOpenUserClassesRoot @ stdcall RegOpenUserClassesRoot(ptr long long ptr)
@ stdcall -private RegQueryInfoKeyA(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) kernel32.RegQueryInfoKeyA @ stdcall RegQueryInfoKeyA(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr)
@ stdcall -private RegQueryInfoKeyW(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) kernel32.RegQueryInfoKeyW @ stdcall RegQueryInfoKeyW(long ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr)
@ stdcall -private RegQueryValueExA(long str ptr ptr ptr ptr) kernel32.RegQueryValueExA @ stdcall RegQueryValueExA(long str ptr ptr ptr ptr)
@ stdcall -private RegQueryValueExW(long wstr ptr ptr ptr ptr) kernel32.RegQueryValueExW @ stdcall RegQueryValueExW(long wstr ptr ptr ptr ptr)
@ stdcall -private RegRestoreKeyA(long str long) kernel32.RegRestoreKeyA @ stdcall RegRestoreKeyA(long str long)
@ stdcall -private RegRestoreKeyW(long wstr long) kernel32.RegRestoreKeyW @ stdcall RegRestoreKeyW(long wstr long)
@ stdcall RegSaveKeyExA(long str ptr long) advapi32.RegSaveKeyExA @ stdcall RegSaveKeyExA(long str ptr long)
@ stdcall RegSaveKeyExW(long wstr ptr long) advapi32.RegSaveKeyExW @ stdcall RegSaveKeyExW(long wstr ptr long)
@ stdcall -private RegSetKeySecurity(long long ptr) kernel32.RegSetKeySecurity @ stdcall RegSetKeySecurity(long long ptr)
@ stdcall RegSetKeyValueA(long str str long ptr long) advapi32.RegSetKeyValueA @ stdcall RegSetKeyValueA(long str str long ptr long)
@ stdcall RegSetKeyValueW(long wstr wstr long ptr long) advapi32.RegSetKeyValueW @ stdcall RegSetKeyValueW(long wstr wstr long ptr long)
@ stdcall -private RegSetValueExA(long str long long ptr long) kernel32.RegSetValueExA @ stdcall RegSetValueExA(long str long long ptr long)
@ stdcall -private RegSetValueExW(long wstr long long ptr long) kernel32.RegSetValueExW @ stdcall RegSetValueExW(long wstr long long ptr long)
@ stdcall -private RegUnLoadKeyA(long str) kernel32.RegUnLoadKeyA @ stdcall RegUnLoadKeyA(long str)
@ stdcall -private RegUnLoadKeyW(long wstr) kernel32.RegUnLoadKeyW @ stdcall RegUnLoadKeyW(long wstr)
# @ stub RegisterBadMemoryNotification # @ stub RegisterBadMemoryNotification
# @ stub RegisterGPNotificationInternal # @ stub RegisterGPNotificationInternal
# @ stub RegisterStateChangeNotification # @ stub RegisterStateChangeNotification
@ -1331,7 +1331,7 @@
@ stdcall ReleaseSemaphore(long long ptr) kernel32.ReleaseSemaphore @ stdcall ReleaseSemaphore(long long ptr) kernel32.ReleaseSemaphore
@ stdcall ReleaseSemaphoreWhenCallbackReturns(ptr long long) kernel32.ReleaseSemaphoreWhenCallbackReturns @ stdcall ReleaseSemaphoreWhenCallbackReturns(ptr long long) kernel32.ReleaseSemaphoreWhenCallbackReturns
# @ stub ReleaseStateLock # @ stub ReleaseStateLock
# @ stub RemapPredefinedHandleInternal @ stdcall RemapPredefinedHandleInternal(long long)
@ stdcall RemoveDirectoryA(str) kernel32.RemoveDirectoryA @ stdcall RemoveDirectoryA(str) kernel32.RemoveDirectoryA
@ stdcall RemoveDirectoryW(wstr) kernel32.RemoveDirectoryW @ stdcall RemoveDirectoryW(wstr) kernel32.RemoveDirectoryW
@ stdcall RemoveDllDirectory(ptr) kernel32.RemoveDllDirectory @ stdcall RemoveDllDirectory(ptr) kernel32.RemoveDllDirectory

View File

@ -267,7 +267,7 @@ HRESULT WINAPI GetAcceptLanguagesW(WCHAR *langbuf, DWORD *buflen)
len = mystrlen * sizeof(WCHAR); len = mystrlen * sizeof(WCHAR);
mystr = heap_alloc(len); mystr = heap_alloc(len);
mystr[0] = 0; mystr[0] = 0;
RegOpenKeyW(HKEY_CURRENT_USER, keyW, &mykey); RegOpenKeyExW(HKEY_CURRENT_USER, keyW, 0, KEY_QUERY_VALUE, &mykey);
lres = RegQueryValueExW(mykey, valueW, 0, &mytype, (PBYTE)mystr, &len); lres = RegQueryValueExW(mykey, valueW, 0, &mytype, (PBYTE)mystr, &len);
RegCloseKey(mykey); RegCloseKey(mykey);
len = lstrlenW(mystr); len = lstrlenW(mystr);

File diff suppressed because it is too large Load Diff

View File

@ -104,6 +104,9 @@ WINADVAPI LSTATUS WINAPI RegCloseKey(HKEY);
WINADVAPI LSTATUS WINAPI RegConnectRegistryA(LPCSTR,HKEY,PHKEY); WINADVAPI LSTATUS WINAPI RegConnectRegistryA(LPCSTR,HKEY,PHKEY);
WINADVAPI LSTATUS WINAPI RegConnectRegistryW(LPCWSTR,HKEY,PHKEY); WINADVAPI LSTATUS WINAPI RegConnectRegistryW(LPCWSTR,HKEY,PHKEY);
#define RegConnectRegistry WINELIB_NAME_AW(RegConnectRegistry) #define RegConnectRegistry WINELIB_NAME_AW(RegConnectRegistry)
WINADVAPI LSTATUS WINAPI RegCopyTreeA(HKEY,const char*,HKEY);
WINADVAPI LSTATUS WINAPI RegCopyTreeW(HKEY,const WCHAR*,HKEY);
#define RegCopyTree WINELIB_NAME_AW(RegCopyTree)
WINADVAPI LSTATUS WINAPI RegCreateKeyA(HKEY,LPCSTR,PHKEY); WINADVAPI LSTATUS WINAPI RegCreateKeyA(HKEY,LPCSTR,PHKEY);
WINADVAPI LSTATUS WINAPI RegCreateKeyW(HKEY,LPCWSTR,PHKEY); WINADVAPI LSTATUS WINAPI RegCreateKeyW(HKEY,LPCWSTR,PHKEY);
#define RegCreateKey WINELIB_NAME_AW(RegCreateKey) #define RegCreateKey WINELIB_NAME_AW(RegCreateKey)