mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[advapi32]
- Extend LsaLookupNames2 stub, fix file header - Should prevent the advapi32 lsa test crash svn path=/trunk/; revision=44622
This commit is contained in:
parent
a95def3ad0
commit
1c23c0f872
1 changed files with 9 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/advapi32/sec/lsa.c
|
||||
* FILE: dll/win32/advapi32/sec/lsa.c
|
||||
* PURPOSE: Local security authority functions
|
||||
* PROGRAMMER: Emanuele Aliberti
|
||||
* UPDATE HISTORY:
|
||||
* 19990322 EA created
|
||||
* 19990515 EA stubs
|
||||
* 19990322 EA created
|
||||
* 19990515 EA stubs
|
||||
* 20030202 KJK compressed stubs
|
||||
*
|
||||
*/
|
||||
|
@ -360,6 +360,12 @@ LsaLookupNames2(
|
|||
{
|
||||
FIXME("(%p,0x%08x,0x%08x,%p,%p,%p) stub\n", PolicyHandle, Flags,
|
||||
Count, Names, ReferencedDomains, Sids);
|
||||
if (Names != NULL && Count > 0)
|
||||
{
|
||||
*ReferencedDomains = RtlAllocateHeap(RtlGetProcessHeap(), 0, sizeof(LSA_REFERENCED_DOMAIN_LIST));
|
||||
*Sids = RtlAllocateHeap(RtlGetProcessHeap(), 0, Count * sizeof(LSA_TRANSLATED_SID2));
|
||||
return STATUS_SOME_NOT_MAPPED;
|
||||
}
|
||||
return STATUS_NONE_MAPPED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue