From f427428df73f38eba331c27ce5b5960b4df7a170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sun, 26 Sep 2004 20:26:13 +0000 Subject: [PATCH] Stub LookupAccountNameA/W svn path=/trunk/; revision=11080 --- reactos/lib/advapi32/advapi32.def | 6 ++--- reactos/lib/advapi32/sec/misc.c | 42 ++++++++++++++++++++++++++++++- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/reactos/lib/advapi32/advapi32.def b/reactos/lib/advapi32/advapi32.def index a5391b9a136..b15d67973a6 100644 --- a/reactos/lib/advapi32/advapi32.def +++ b/reactos/lib/advapi32/advapi32.def @@ -1,4 +1,4 @@ -; $Id: advapi32.def,v 1.23 2004/09/16 10:25:11 gvg Exp $ +; $Id: advapi32.def,v 1.24 2004/09/26 20:26:13 gvg Exp $ ; ; advapi32.def ; @@ -195,8 +195,8 @@ IsValidSid@4 LockServiceDatabase@4 LogonUserA@24 LogonUserW@24 -;LookupAccountNameA@28 -;LookupAccountNameW@28 +LookupAccountNameA@28 +LookupAccountNameW@28 LookupAccountSidA@28 LookupAccountSidW@28 LookupPrivilegeDisplayNameA@20 diff --git a/reactos/lib/advapi32/sec/misc.c b/reactos/lib/advapi32/sec/misc.c index 7e0ce6e330a..9d12a5a8436 100644 --- a/reactos/lib/advapi32/sec/misc.c +++ b/reactos/lib/advapi32/sec/misc.c @@ -1,4 +1,4 @@ -/* $Id: misc.c,v 1.24 2004/09/08 11:36:24 ekohl Exp $ +/* $Id: misc.c,v 1.25 2004/09/26 20:26:13 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -574,6 +574,46 @@ LookupAccountSidW (LPCWSTR lpSystemName, } +/****************************************************************************** + * LookupAccountNameA [ADVAPI32.@] + * + * @unimplemented + */ +BOOL STDCALL +LookupAccountNameA (LPCSTR SystemName, + LPCSTR AccountName, + PSID Sid, + LPDWORD SidLength, + LPSTR ReferencedDomainName, + LPDWORD hReferencedDomainNameLength, + PSID_NAME_USE SidNameUse) +{ + DPRINT1("LookupAccountNameA is unimplemented\n"); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +/****************************************************************************** + * LookupAccountNameW [ADVAPI32.@] + * + * @unimplemented + */ +BOOL STDCALL +LookupAccountNameW (LPCWSTR SystemName, + LPCWSTR AccountName, + PSID Sid, + LPDWORD SidLength, + LPWSTR ReferencedDomainName, + LPDWORD hReferencedDomainNameLength, + PSID_NAME_USE SidNameUse) +{ + DPRINT1("LookupAccountNameW is unimplemented\n"); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + /********************************************************************** * LookupPrivilegeValueA EXPORTED *