mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
50 lines
1.6 KiB
Diff
50 lines
1.6 KiB
Diff
From a8a21efb93186835c4ce4ef369cb61faaf9d919c Mon Sep 17 00:00:00 2001
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
Date: Sun, 24 May 2020 18:34:43 +1000
|
|
Subject: [PATCH] ntdll: Implement RtlQueryRegistryValuesEx
|
|
|
|
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46969
|
|
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
---
|
|
dlls/ntdll/ntdll.spec | 1 +
|
|
dlls/ntdll/reg.c | 11 +++++++++++
|
|
2 files changed, 12 insertions(+)
|
|
|
|
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
|
|
index 36c6a44f3862..4f72c70ff097 100644
|
|
--- a/dlls/ntdll/ntdll.spec
|
|
+++ b/dlls/ntdll/ntdll.spec
|
|
@@ -884,6 +884,7 @@
|
|
@ stub RtlQueryPropertyNames
|
|
@ stub RtlQueryPropertySet
|
|
@ stdcall RtlQueryRegistryValues(long ptr ptr ptr ptr)
|
|
+@ stdcall RtlQueryRegistryValuesEx(long ptr ptr ptr ptr)
|
|
@ stub RtlQuerySecurityObject
|
|
@ stub RtlQueryTagHeap
|
|
@ stdcall RtlQueryTimeZoneInformation(ptr)
|
|
diff --git a/dlls/ntdll/reg.c b/dlls/ntdll/reg.c
|
|
index 46d4c7029a3e..3bbe0a7b6cb9 100644
|
|
--- a/dlls/ntdll/reg.c
|
|
+++ b/dlls/ntdll/reg.c
|
|
@@ -1391,6 +1391,17 @@ out:
|
|
return ret;
|
|
}
|
|
|
|
+/*************************************************************************
|
|
+ * RtlQueryRegistryValuesEx [NTDLL.@]
|
|
+ */
|
|
+NTSTATUS WINAPI RtlQueryRegistryValuesEx(IN ULONG RelativeTo, IN PCWSTR path,
|
|
+ IN PRTL_QUERY_REGISTRY_TABLE QueryTable, void *context,
|
|
+ void *Environment)
|
|
+{
|
|
+ return RtlQueryRegistryValues (RelativeTo, path, QueryTable, context, Environment);
|
|
+}
|
|
+
|
|
+
|
|
/*************************************************************************
|
|
* RtlCheckRegistryKey [NTDLL.@]
|
|
*
|
|
--
|
|
2.26.2
|
|
|