mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[LSASRV]: Implement a simplified version of LsaIAllocateHeap / LsaIAllocateHeapZero / LsaIFreeHeap.
CORE-12432 svn path=/trunk/; revision=73330
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user