https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2fafcff3efa544e063e3a6bd488ad87098ec035b

commit 2fafcff3efa544e063e3a6bd488ad87098ec035b
Author:     Eric Kohl <[email protected]>
AuthorDate: Mon Aug 27 00:11:21 2018 +0200
Commit:     Eric Kohl <[email protected]>
CommitDate: Mon Aug 27 00:11:21 2018 +0200

    [SAMLIB] Add stubs for SamTestPrivateFunctionsDomain and 
SamTestPrivateFunctionsUser
---
 dll/win32/samlib/samlib.c    | 22 ++++++++++++++++++++++
 dll/win32/samlib/samlib.spec |  4 ++--
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/dll/win32/samlib/samlib.c b/dll/win32/samlib/samlib.c
index b4dacd9e42..5c9b1da228 100644
--- a/dll/win32/samlib/samlib.c
+++ b/dll/win32/samlib/samlib.c
@@ -2267,4 +2267,26 @@ SamShutdownSamServer(IN SAM_HANDLE ServerHandle)
     return Status;
 }
 
+
+NTSTATUS
+NTAPI
+SamTestPrivateFunctionsDomain(
+    _In_ SAM_HANDLE DomainHandle)
+{
+    TRACE("SamTestPrivateFunctionsDomain(%p)\n",
+          DomainHandle);
+    return STATUS_NOT_IMPLEMENTED;
+}
+
+
+NTSTATUS
+NTAPI
+SamTestPrivateFunctionsUser(
+    _In_ SAM_HANDLE UserHandle)
+{
+    TRACE("SamTestPrivateFunctionsUser(%p)\n",
+          UserHandle);
+    return STATUS_NOT_IMPLEMENTED;
+}
+
 /* EOF */
diff --git a/dll/win32/samlib/samlib.spec b/dll/win32/samlib/samlib.spec
index 4a4c21b131..2e9dab7ee4 100644
--- a/dll/win32/samlib/samlib.spec
+++ b/dll/win32/samlib/samlib.spec
@@ -50,8 +50,8 @@
 @ stdcall SamSetMemberAttributesOfGroup(ptr long long)
 @ stdcall SamSetSecurityObject(ptr long ptr)
 @ stdcall SamShutdownSamServer(ptr)
-@ stub SamTestPrivateFunctionsDomain
-@ stub SamTestPrivateFunctionsUser
+@ stdcall SamTestPrivateFunctionsDomain(ptr)
+@ stdcall SamTestPrivateFunctionsUser(ptr)
 @ stub SamiChangeKeys
 @ stub SamiChangePasswordUser2
 @ stub SamiChangePasswordUser3

Reply via email to