Author: cwittich
Date: Sat Jun 20 02:08:02 2009
New Revision: 41473
URL:
http://svn.reactos.org/svn/reactos?rev=41473&view=rev
Log:
improve some more Lsa stubs
Modified:
trunk/reactos/dll/win32/advapi32/sec/lsa.c
Modified: trunk/reactos/dll/win32/advapi32/sec/lsa.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/sec/lsa…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/sec/lsa.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/sec/lsa.c [iso-8859-1] Sat Jun 20 02:08:02 2009
@@ -183,7 +183,7 @@
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 @@
PSID TrustedDomainSid)
{
FIXME("(%p,%p) stub\n", PolicyHandle, TrustedDomainSid);
- return STATUS_NOT_IMPLEMENTED;
+ return STATUS_SUCCESS;
}
/*
@@ -245,7 +245,7 @@
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 @@
{
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 @@
{
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 @@
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 @@
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 @@
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 @@
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 @@
PVOID Buffer)
{
FIXME("(%p,0x%08x,%p) stub\n", PolicyHandle, InformationClass, Buffer);
- return STATUS_NOT_IMPLEMENTED;
+ return STATUS_UNSUCCESSFUL;
}
/*
@@ -719,7 +722,7 @@
PVOID Buffer)
{
FIXME("(%p,%p,%d,%p) stub\n", PolicyHandle, TrustedDomainName,
InformationClass, Buffer);
- return STATUS_NOT_IMPLEMENTED;
+ return STATUS_SUCCESS;
}
/*
@@ -734,7 +737,7 @@
PVOID Buffer)
{
FIXME("(%p,%p,%d,%p) stub\n", PolicyHandle, TrustedDomainSid,
InformationClass, Buffer);
- return STATUS_NOT_IMPLEMENTED;
+ return STATUS_SUCCESS;
}
/*
@@ -748,7 +751,7 @@
PLSA_UNICODE_STRING PrivateData)
{
FIXME("(%p,%p,%p) stub\n", PolicyHandle, KeyName, PrivateData);
- return STATUS_NOT_IMPLEMENTED;
+ return STATUS_OBJECT_NAME_NOT_FOUND;
}
/*