improve some more Lsa stubs

svn path=/trunk/; revision=41473
This commit is contained in:
Christoph von Wittich 2009-06-19 22:08:02 +00:00
parent 2869ff1fbc
commit aa85426a38

View file

@ -183,7 +183,7 @@ LsaAddAccountRights(
ULONG CountOfRights)
{
FIXME("(%p,%p,%p,0x%08x) stub\n", PolicyHandle, AccountSid, UserRights, CountOfRights);
return STATUS_NOT_IMPLEMENTED;
return STATUS_OBJECT_NAME_NOT_FOUND;
}
/*
@ -213,7 +213,7 @@ LsaDeleteTrustedDomain(
PSID TrustedDomainSid)
{
FIXME("(%p,%p) stub\n", PolicyHandle, TrustedDomainSid);
return STATUS_NOT_IMPLEMENTED;
return STATUS_SUCCESS;
}
/*
@ -245,7 +245,7 @@ LsaEnumerateAccountsWithUserRight(
PULONG CountReturned)
{
FIXME("(%p,%p,%p,%p) stub\n", PolicyHandle, UserRights, EnumerationBuffer, CountReturned);
return STATUS_NOT_IMPLEMENTED;
return STATUS_NO_MORE_ENTRIES;
}
/*
@ -262,7 +262,9 @@ LsaEnumerateTrustedDomains(
{
FIXME("(%p,%p,%p,0x%08x,%p) stub\n", PolicyHandle, EnumerationContext,
Buffer, PreferedMaximumLength, CountReturned);
return STATUS_NOT_IMPLEMENTED;
if (CountReturned) *CountReturned = 0;
return STATUS_SUCCESS;
}
/*
@ -279,7 +281,8 @@ LsaEnumerateTrustedDomainsEx(
{
FIXME("(%p,%p,%p,0x%08x,%p) stub\n", PolicyHandle, EnumerationContext, Buffer,
PreferedMaximumLength, CountReturned);
return STATUS_NOT_IMPLEMENTED;
if (CountReturned) *CountReturned = 0;
return STATUS_SUCCESS;
}
/*
@ -477,7 +480,7 @@ LsaOpenTrustedDomainByName(
PLSA_HANDLE TrustedDomainHandle)
{
FIXME("(%p,%p,0x%08x,%p) stub\n", PolicyHandle, TrustedDomainName, DesiredAccess, TrustedDomainHandle);
return STATUS_NOT_IMPLEMENTED;
return STATUS_OBJECT_NAME_NOT_FOUND;
}
/*
@ -615,7 +618,7 @@ LsaQueryTrustedDomainInfoByName(
PVOID *Buffer)
{
FIXME("(%p,%p,%d,%p) stub\n", PolicyHandle, TrustedDomainName, InformationClass, Buffer);
return STATUS_NOT_IMPLEMENTED;
return STATUS_OBJECT_NAME_NOT_FOUND;
}
/*
@ -630,7 +633,7 @@ LsaQueryTrustedDomainInfo(
PVOID *Buffer)
{
FIXME("(%p,%p,%d,%p) stub\n", PolicyHandle, TrustedDomainSid, InformationClass, Buffer);
return STATUS_NOT_IMPLEMENTED;
return STATUS_OBJECT_NAME_NOT_FOUND;
}
/*
@ -646,7 +649,7 @@ LsaRemoveAccountRights(
ULONG CountOfRights)
{
FIXME("(%p,%p,%d,%p,0x%08x) stub\n", PolicyHandle, AccountSid, AllRights, UserRights, CountOfRights);
return STATUS_NOT_IMPLEMENTED;
return STATUS_SUCCESS;
}
/*
@ -688,7 +691,7 @@ LsaSetInformationPolicy(
PVOID Buffer)
{
FIXME("(%p,0x%08x,%p) stub\n", PolicyHandle, InformationClass, Buffer);
return STATUS_NOT_IMPLEMENTED;
return STATUS_UNSUCCESSFUL;
}
/*
@ -719,7 +722,7 @@ LsaSetTrustedDomainInfoByName(
PVOID Buffer)
{
FIXME("(%p,%p,%d,%p) stub\n", PolicyHandle, TrustedDomainName, InformationClass, Buffer);
return STATUS_NOT_IMPLEMENTED;
return STATUS_SUCCESS;
}
/*
@ -734,7 +737,7 @@ LsaSetTrustedDomainInformation(
PVOID Buffer)
{
FIXME("(%p,%p,%d,%p) stub\n", PolicyHandle, TrustedDomainSid, InformationClass, Buffer);
return STATUS_NOT_IMPLEMENTED;
return STATUS_SUCCESS;
}
/*
@ -748,7 +751,7 @@ LsaStorePrivateData(
PLSA_UNICODE_STRING PrivateData)
{
FIXME("(%p,%p,%p) stub\n", PolicyHandle, KeyName, PrivateData);
return STATUS_NOT_IMPLEMENTED;
return STATUS_OBJECT_NAME_NOT_FOUND;
}
/*