advapi32: Improve the stub for GetEffectiveRightsFromAclA.

Hans Leidekker hans at codeweavers.com
Tue Dec 1 04:35:50 CST 2009


---
 dlls/advapi32/security.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index 3e79a61..629a74a 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -1100,7 +1100,8 @@ GetEffectiveRightsFromAclA( PACL pacl, PTRUSTEEA pTrustee, PACCESS_MASK pAccessR
 {
     FIXME("%p %p %p - stub\n", pacl, pTrustee, pAccessRights);
 
-    return 1;
+    *pAccessRights = STANDARD_RIGHTS_ALL | SPECIFIC_RIGHTS_ALL;
+    return 0;
 }
 
 DWORD WINAPI
-- 
1.6.3.3




More information about the wine-patches mailing list