[LSASRV][IDL] The first parameter of the Credr* functions is a PLSAPR_SERVER_NAME.
authorEric Kohl <eric.kohl@reactos.org>
Sat, 27 Oct 2018 15:02:02 +0000 (17:02 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 27 Oct 2018 16:17:35 +0000 (18:17 +0200)
dll/win32/lsasrv/lsarpc.c
sdk/include/reactos/idl/lsa.idl

index 517b89a..925ca45 100644 (file)
@@ -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,
index 9e049bd..6e7d34a 100644 (file)
@@ -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