Commit c74508d2 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

advapi32: Add stub for LsaEnumerateAccounts.

parent 4e956dc0
...@@ -452,7 +452,7 @@ ...@@ -452,7 +452,7 @@
@ stub LsaDelete @ stub LsaDelete
@ stdcall LsaDeleteTrustedDomain(ptr ptr) @ stdcall LsaDeleteTrustedDomain(ptr ptr)
@ stdcall LsaEnumerateAccountRights(ptr ptr ptr ptr) @ stdcall LsaEnumerateAccountRights(ptr ptr ptr ptr)
@ stub LsaEnumerateAccounts @ stdcall LsaEnumerateAccounts(ptr ptr ptr long ptr)
@ stdcall LsaEnumerateAccountsWithUserRight(ptr ptr ptr ptr) @ stdcall LsaEnumerateAccountsWithUserRight(ptr ptr ptr ptr)
@ stub LsaEnumeratePrivileges @ stub LsaEnumeratePrivileges
@ stub LsaEnumeratePrivilegesOfAccount @ stub LsaEnumeratePrivilegesOfAccount
......
...@@ -237,6 +237,22 @@ NTSTATUS WINAPI LsaEnumerateAccountRights( ...@@ -237,6 +237,22 @@ NTSTATUS WINAPI LsaEnumerateAccountRights(
} }
/****************************************************************************** /******************************************************************************
* LsaEnumerateAccounts [ADVAPI32.@]
*
*/
NTSTATUS WINAPI LsaEnumerateAccounts(
LSA_HANDLE policy,
PLSA_ENUMERATION_HANDLE context,
PVOID *buffer,
ULONG maxlen,
PULONG count)
{
FIXME("(%p,%p,%p,%d,%p) stub\n", policy, context, buffer, maxlen, count);
if (count) *count = 0;
return STATUS_NO_MORE_ENTRIES;
}
/******************************************************************************
* LsaEnumerateAccountsWithUserRight [ADVAPI32.@] * LsaEnumerateAccountsWithUserRight [ADVAPI32.@]
* *
*/ */
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
NTSTATUS WINAPI LsaEnumerateAccounts(LSA_HANDLE,PLSA_ENUMERATION_HANDLE,PVOID*,ULONG,PULONG);
NTSTATUS WINAPI LsaLookupPrivilegeDisplayName(LSA_HANDLE policy, LSA_UNICODE_STRING *name, NTSTATUS WINAPI LsaLookupPrivilegeDisplayName(LSA_HANDLE policy, LSA_UNICODE_STRING *name,
LSA_UNICODE_STRING **display_name, SHORT *language); LSA_UNICODE_STRING **display_name, SHORT *language);
NTSTATUS WINAPI LsaLookupPrivilegeName(LSA_HANDLE policy, LUID *value, LSA_UNICODE_STRING **name); NTSTATUS WINAPI LsaLookupPrivilegeName(LSA_HANDLE policy, LUID *value, LSA_UNICODE_STRING **name);
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