[pkg-wine-party] [wine] 345/434: ntdll: Add a stub for NtLoadKey2.

Michael Gilbert mgilbert at moszumanska.debian.org
Sun Feb 5 19:23:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit 6d89be5496ba581d88ddba076ccaed157fd0b426
Author: Austin English <austinenglish at gmail.com>
Date:   Fri Jan 27 01:54:18 2017 -0600

    ntdll: Add a stub for NtLoadKey2.
    
    Signed-off-by: Austin English <austinenglish at gmail.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
 dlls/ntdll/ntdll.spec |  4 ++--
 dlls/ntdll/reg.c      | 10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 2ee614f..4cbc3b0 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -198,7 +198,7 @@
 # @ stub NtIsSystemResumeAutomatic
 @ stdcall NtListenPort(ptr ptr)
 @ stdcall NtLoadDriver(ptr)
-# @ stub NtLoadKey2
+@ stdcall NtLoadKey2(ptr ptr long)
 @ stdcall NtLoadKey(ptr ptr)
 @ stdcall NtLockFile(long long ptr ptr ptr ptr ptr ptr long long)
 # @ stub NtLockProductActivationKeys
@@ -1123,7 +1123,7 @@
 # @ stub ZwIsSystemResumeAutomatic
 @ stdcall -private ZwListenPort(ptr ptr) NtListenPort
 @ stdcall -private ZwLoadDriver(ptr) NtLoadDriver
-# @ stub ZwLoadKey2
+@ stdcall ZwLoadKey2(ptr ptr long) NtLoadKey2
 @ stdcall -private ZwLoadKey(ptr ptr) NtLoadKey
 @ stdcall -private ZwLockFile(long long ptr ptr ptr ptr ptr ptr long long) NtLockFile
 # @ stub ZwLockProductActivationKeys
diff --git a/dlls/ntdll/reg.c b/dlls/ntdll/reg.c
index e151e91..2dd75be 100644
--- a/dlls/ntdll/reg.c
+++ b/dlls/ntdll/reg.c
@@ -682,6 +682,16 @@ NTSTATUS WINAPI NtLoadKey( const OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *fil
 }
 
 /******************************************************************************
+ *  NtLoadKey2  [NTDLL.@]
+ *  ZwLoadKey2  [NTDLL.@]
+ */
+NTSTATUS WINAPI NtLoadKey2(OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *file, ULONG flags)
+{
+    FIXME("(%p,%p,0x%08x) semi-stub: ignoring flags\n", attr, file, flags);
+    return NtLoadKey(attr, file);
+}
+
+/******************************************************************************
  *  NtNotifyChangeMultipleKeys  [NTDLL.@]
  *  ZwNotifyChangeMultipleKeys  [NTDLL.@]
  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list