https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0ce15a8faad03a021453bdf865173f9e85917ae4

commit 0ce15a8faad03a021453bdf865173f9e85917ae4
Author:     Eric Kohl <[email protected]>
AuthorDate: Sat Oct 27 17:02:02 2018 +0200
Commit:     Eric Kohl <[email protected]>
CommitDate: Sat Oct 27 18:17:35 2018 +0200

    [LSASRV][IDL] The first parameter of the Credr* functions is a 
PLSAPR_SERVER_NAME.
---
 dll/win32/lsasrv/lsarpc.c       | 20 ++++++++++----------
 sdk/include/reactos/idl/lsa.idl | 28 ++++++++++++++--------------
 2 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/dll/win32/lsasrv/lsarpc.c b/dll/win32/lsasrv/lsarpc.c
index 517b89a23c..925ca45556 100644
--- a/dll/win32/lsasrv/lsarpc.c
+++ b/dll/win32/lsasrv/lsarpc.c
@@ -3874,7 +3874,7 @@ NTSTATUS WINAPI LsarCreateTrustedDomainEx2(
 
 /* Function 60 */
 NTSTATUS WINAPI CredrWrite(
-    handle_t hBinding)
+    PLSAPR_SERVER_NAME SystemName)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
@@ -3883,7 +3883,7 @@ NTSTATUS WINAPI CredrWrite(
 
 /* Function 61 */
 NTSTATUS WINAPI CredrRead(
-    handle_t hBinding)
+    PLSAPR_SERVER_NAME SystemName)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
@@ -3892,7 +3892,7 @@ NTSTATUS WINAPI CredrRead(
 
 /* Function 62 */
 NTSTATUS WINAPI CredrEnumerate(
-    handle_t hBinding)
+    PLSAPR_SERVER_NAME SystemName)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
@@ -3901,7 +3901,7 @@ NTSTATUS WINAPI CredrEnumerate(
 
 /* Function 63 */
 NTSTATUS WINAPI CredrWriteDomainCredentials(
-    handle_t hBinding)
+    PLSAPR_SERVER_NAME SystemName)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
@@ -3910,7 +3910,7 @@ NTSTATUS WINAPI CredrWriteDomainCredentials(
 
 /* Function 64 */
 NTSTATUS WINAPI CredrReadDomainCredentials(
-    handle_t hBinding)
+    PLSAPR_SERVER_NAME SystemName)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
@@ -3921,7 +3921,7 @@ NTSTATUS WINAPI CredrReadDomainCredentials(
 NTSTATUS
 WINAPI
 CredrDelete(
-    handle_t hBinding,
+    PLSAPR_SERVER_NAME SystemName,
     LPWSTR TargetName,
     DWORD Type,
     DWORD Flags)
@@ -3935,7 +3935,7 @@ CredrDelete(
 NTSTATUS
 WINAPI
 CredrGetTargetInfo(
-    handle_t hBinding,
+    PLSAPR_SERVER_NAME SystemName,
     LPWSTR TargetName,
     DWORD Flags,
     CREDPR_TARGET_INFORMATION *TargetInformation)
@@ -3949,7 +3949,7 @@ CredrGetTargetInfo(
 NTSTATUS
 WINAPI
 CredrProfileLoaded(
-    handle_t hBinding)
+    PLSAPR_SERVER_NAME SystemName)
 {
     UNIMPLEMENTED;
     return STATUS_NOT_IMPLEMENTED;
@@ -3998,7 +3998,7 @@ NTSTATUS WINAPI LsarLookupNames3(
 NTSTATUS
 WINAPI
 CredrGetSessionTypes(
-    handle_t hBinding,
+    PLSAPR_SERVER_NAME SystemName,
     DWORD MaximumPersistCount,
     DWORD *MaximumPersist)
 {
@@ -4064,7 +4064,7 @@ NTSTATUS WINAPI LsarSetForestTrustInformation(
 NTSTATUS
 WINAPI
 CredrRename(
-    handle_t hBinding,
+    PLSAPR_SERVER_NAME SystemName,
     LPWSTR OldTargetName,
     LPWSTR NewTargetName,
     DWORD Type,
diff --git a/sdk/include/reactos/idl/lsa.idl b/sdk/include/reactos/idl/lsa.idl
index 9e049bd680..6e7d34a97d 100644
--- a/sdk/include/reactos/idl/lsa.idl
+++ b/sdk/include/reactos/idl/lsa.idl
@@ -1126,55 +1126,55 @@ cpp_quote("#if _WIN32_WINNT >= 0x0501")
     NTSTATUS
     __stdcall
     CredrWrite(
-        [in] handle_t hBinding); /* FIXME */
+        [in, unique] PLSAPR_SERVER_NAME SystemName); /* FIXME */
 
     /* Function 61 */
     NTSTATUS
     __stdcall
     CredrRead(
-        [in] handle_t hBinding); /* FIXME */
+        [in, unique] PLSAPR_SERVER_NAME SystemName); /* FIXME */
 
     /* Function 62 */
     NTSTATUS
     __stdcall
     CredrEnumerate(
-        [in] handle_t hBinding); /* FIXME */
+        [in, unique] PLSAPR_SERVER_NAME SystemName); /* FIXME */
 
     /* Function 63 */
     NTSTATUS
     __stdcall
     CredrWriteDomainCredentials(
-        [in] handle_t hBinding); /* FIXME */
+        [in, unique] PLSAPR_SERVER_NAME SystemName); /* FIXME */
 
     /* Function 64 */
     NTSTATUS
     __stdcall
     CredrReadDomainCredentials(
-        [in] handle_t hBinding); /* FIXME */
+        [in, unique] PLSAPR_SERVER_NAME SystemName); /* FIXME */
 
     /* Function 65 */
     NTSTATUS
     __stdcall
     CredrDelete(
-        [in] handle_t hBinding,
+        [in, unique] PLSAPR_SERVER_NAME SystemName,
         [in, unique, string] LPWSTR TargetName,
         [in] DWORD Type,
-        [in] DWORD Flags); /* FIXME */
+        [in] DWORD Flags);
 
     /* Function 66 */
     NTSTATUS
     __stdcall
     CredrGetTargetInfo(
-        [in] handle_t hBinding,
+        [in, unique] PLSAPR_SERVER_NAME SystemName,
         [in, unique, string] LPWSTR TargetName,
         [in] DWORD Flags,
-        [out] CREDPR_TARGET_INFORMATION *TargetInformation); /* FIXME */
+        [out] CREDPR_TARGET_INFORMATION *TargetInformation);
 
     /* Function 67 */
     NTSTATUS
     __stdcall
     CredrProfileLoaded(
-        [in] handle_t hBinding); /* FIXME */
+        [in, unique] PLSAPR_SERVER_NAME SystemName);
 
     /* Function 68 */
     NTSTATUS
@@ -1194,9 +1194,9 @@ cpp_quote("#if _WIN32_WINNT >= 0x0501")
     NTSTATUS
     __stdcall
     CredrGetSessionTypes(
-        [in] handle_t hBinding,
+        [in, unique] PLSAPR_SERVER_NAME SystemName,
         [in] DWORD MaximumPersistCount,
-        [out, size_is(MaximumPersistCount)] DWORD *MaximumPersist); /* FIXME */
+        [out, size_is(MaximumPersistCount)] DWORD *MaximumPersist);
 
     /* Function 70 */
     NTSTATUS
@@ -1240,11 +1240,11 @@ cpp_quote("#if _WIN32_WINNT >= 0x0501")
     NTSTATUS
     __stdcall
     CredrRename(
-        [in] handle_t hBinding,
+        [in, unique] PLSAPR_SERVER_NAME SystemName,
         [in, unique, string] LPWSTR OldTargetName,
         [in, unique, string] LPWSTR NewTargetName,
         [in] DWORD Type,
-        [in] DWORD Flags); /* FIXME */
+        [in] DWORD Flags);
 
     /* Function 76 */
     NTSTATUS

Reply via email to