[advapi32] Fix LsaQueryInformationPolicy return values.
Robert Reif
reif at earthlink.net
Thu Apr 20 21:19:31 CDT 2006
Fix LsaQueryInformationPolicy return values.
-------------- next part --------------
Index: dlls/advapi32/lsa.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/lsa.c,v
retrieving revision 1.5
diff -p -u -r1.5 lsa.c
--- dlls/advapi32/lsa.c 13 Mar 2006 14:47:30 -0000 1.5
+++ dlls/advapi32/lsa.c 21 Apr 2006 02:17:05 -0000
@@ -399,7 +399,7 @@ NTSTATUS WINAPI LsaQueryInformationPolic
{
FIXME("(%p,0x%08x,%p) stub\n", PolicyHandle, InformationClass, Buffer);
- if(!Buffer) return FALSE;
+ if(!Buffer) return STATUS_INVALID_PARAMETER;
switch (InformationClass)
{
case PolicyAuditEventsInformation: /* 2 */
@@ -477,10 +477,10 @@ NTSTATUS WINAPI LsaQueryInformationPolic
case PolicyDnsDomainInformation:
{
FIXME("category not implemented\n");
- return FALSE;
+ return STATUS_UNSUCCESSFUL;
}
}
- return TRUE;
+ return STATUS_SUCCESS;
}
/******************************************************************************
More information about the wine-patches
mailing list