Commit d2a59d86 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

advapi32: Fix LsaQueryInformationPolicy return values.

parent a6f71af0
......@@ -399,7 +399,7 @@ NTSTATUS WINAPI LsaQueryInformationPolicy(
{
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 LsaQueryInformationPolicy(
case PolicyDnsDomainInformation:
{
FIXME("category not implemented\n");
return FALSE;
return STATUS_UNSUCCESSFUL;
}
}
return TRUE;
return STATUS_SUCCESS;
}
/******************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment