[advapi32/lsa] Return a 'real' error

Paul Vriens Paul.Vriens at xs4all.nl
Thu Nov 24 04:20:04 CST 2005


Hi,

currently LsaLookupSids returns FALSE. Process Explorer has a problem
with that (crash). If I return STATUS_NONE_MAPPED (which is actually the
case, as it's a stub for now) there is no crash.

Changelog
  Return a real error

Cheers,

Paul Vriens.

Index: dlls/advapi32/lsa.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/lsa.c,v
retrieving revision 1.2
diff -u -p -r1.2 lsa.c
--- dlls/advapi32/lsa.c 11 Jul 2005 10:59:42 -0000      1.2
+++ dlls/advapi32/lsa.c 24 Nov 2005 10:10:39 -0000
@@ -206,7 +206,7 @@ NTSTATUS WINAPI LsaLookupSids(
     FIXME("(%p,%lu,%p,%p,%p) stub\n", PolicyHandle, Count, Sids,
           ReferencedDomains, Names);

-    return FALSE;
+    return STATUS_NONE_MAPPED;
 }

 /******************************************************************************




More information about the wine-patches mailing list