Louis Lenders : ntdll: RtlConvertToAutoInheritSecurityObject is NTSTATUS, not BOOL.

Alexandre Julliard julliard at winehq.org
Mon Aug 31 17:16:55 CDT 2020


Module: wine
Branch: master
Commit: 518d06404ad70aa9812a77d019a18fe79c16f831
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=518d06404ad70aa9812a77d019a18fe79c16f831

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Mon Aug 31 08:37:32 2020 +0200

ntdll: RtlConvertToAutoInheritSecurityObject is NTSTATUS, not BOOL.

Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/sec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c
index 70828a76c6..c0f962f056 100644
--- a/dlls/ntdll/sec.c
+++ b/dlls/ntdll/sec.c
@@ -1707,7 +1707,7 @@ NTSTATUS WINAPI RtlQueryInformationAcl(
     return status;
 }
 
-BOOL WINAPI RtlConvertToAutoInheritSecurityObject(
+NTSTATUS WINAPI RtlConvertToAutoInheritSecurityObject(
         PSECURITY_DESCRIPTOR pdesc,
         PSECURITY_DESCRIPTOR cdesc,
         PSECURITY_DESCRIPTOR* ndesc,
@@ -1717,5 +1717,5 @@ BOOL WINAPI RtlConvertToAutoInheritSecurityObject(
 {
     FIXME("%p %p %p %p %d %p - stub\n", pdesc, cdesc, ndesc, objtype, isdir, genmap);
 
-    return FALSE;
+    return STATUS_NOT_IMPLEMENTED;
 }




More information about the wine-cvs mailing list