advapi32: Fix LsaQueryInformationPolicy return values.

This commit is contained in:
Robert Reif 2006-04-20 22:19:31 -04:00 committed by Alexandre Julliard
parent a6f71af021
commit d2a59d86d9
1 changed files with 3 additions and 3 deletions

View File

@ -399,7 +399,7 @@ NTSTATUS WINAPI LsaQueryInformationPolicy(
{ {
FIXME("(%p,0x%08x,%p) stub\n", PolicyHandle, InformationClass, Buffer); FIXME("(%p,0x%08x,%p) stub\n", PolicyHandle, InformationClass, Buffer);
if(!Buffer) return FALSE; if(!Buffer) return STATUS_INVALID_PARAMETER;
switch (InformationClass) switch (InformationClass)
{ {
case PolicyAuditEventsInformation: /* 2 */ case PolicyAuditEventsInformation: /* 2 */
@ -477,10 +477,10 @@ NTSTATUS WINAPI LsaQueryInformationPolicy(
case PolicyDnsDomainInformation: case PolicyDnsDomainInformation:
{ {
FIXME("category not implemented\n"); FIXME("category not implemented\n");
return FALSE; return STATUS_UNSUCCESSFUL;
} }
} }
return TRUE; return STATUS_SUCCESS;
} }
/****************************************************************************** /******************************************************************************