mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
[LSASRV]: Implement a simplified version of LsaIAllocateHeap / LsaIAllocateHeapZero / LsaIFreeHeap.
CORE-12432 svn path=/trunk/; revision=73330
This commit is contained in:
parent
a310f53b84
commit
4fc25ae9f2
2 changed files with 13 additions and 11 deletions
|
@ -360,25 +360,27 @@ LsapGetAuthenticationPackage(IN ULONG PackageId)
|
|||
}
|
||||
|
||||
|
||||
static
|
||||
PVOID
|
||||
NTAPI
|
||||
LsapAllocateHeap(IN ULONG Length)
|
||||
{
|
||||
return RtlAllocateHeap(RtlGetProcessHeap(),
|
||||
HEAP_ZERO_MEMORY,
|
||||
Length);
|
||||
return RtlAllocateHeap(RtlGetProcessHeap(), 0, Length);
|
||||
}
|
||||
|
||||
|
||||
PVOID
|
||||
NTAPI
|
||||
LsapAllocateHeapZero(IN ULONG Length)
|
||||
{
|
||||
return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, Length);
|
||||
}
|
||||
|
||||
|
||||
static
|
||||
VOID
|
||||
NTAPI
|
||||
LsapFreeHeap(IN PVOID Base)
|
||||
{
|
||||
RtlFreeHeap(RtlGetProcessHeap(),
|
||||
0,
|
||||
Base);
|
||||
RtlFreeHeap(RtlGetProcessHeap(), 0, Base);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
@ stub DsRolerGetDcOperationProgress
|
||||
@ stub DsRolerGetDcOperationResults
|
||||
@ stub LsaIAddNameToLogonSession
|
||||
@ stub LsaIAllocateHeap
|
||||
@ stub LsaIAllocateHeapZero
|
||||
@ stdcall LsaIAllocateHeap(long) LsapAllocateHeap
|
||||
@ stdcall LsaIAllocateHeapZero(long) LsapAllocateHeapZero
|
||||
@ stub LsaIAuditAccountLogon
|
||||
@ stub LsaIAuditAccountLogonEx
|
||||
@ stub LsaIAuditKdcEvent
|
||||
|
@ -27,7 +27,7 @@
|
|||
@ stub LsaIFilterSids
|
||||
@ stub LsaIForestTrustFindMatch
|
||||
@ stub LsaIFreeForestTrustInfo
|
||||
@ stub LsaIFreeHeap
|
||||
@ stdcall LsaIFreeHeap(ptr) LsapFreeHeap
|
||||
@ stub LsaIFreeReturnBuffer
|
||||
@ stub LsaIFree_LSAI_PRIVATE_DATA #DATA
|
||||
@ stub LsaIFree_LSAI_SECRET_ENUM_BUFFER
|
||||
|
|
Loading…
Reference in a new issue