mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 20:43:18 +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
|
PVOID
|
||||||
NTAPI
|
NTAPI
|
||||||
LsapAllocateHeap(IN ULONG Length)
|
LsapAllocateHeap(IN ULONG Length)
|
||||||
{
|
{
|
||||||
return RtlAllocateHeap(RtlGetProcessHeap(),
|
return RtlAllocateHeap(RtlGetProcessHeap(), 0, Length);
|
||||||
HEAP_ZERO_MEMORY,
|
}
|
||||||
Length);
|
|
||||||
|
|
||||||
|
PVOID
|
||||||
|
NTAPI
|
||||||
|
LsapAllocateHeapZero(IN ULONG Length)
|
||||||
|
{
|
||||||
|
return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static
|
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
LsapFreeHeap(IN PVOID Base)
|
LsapFreeHeap(IN PVOID Base)
|
||||||
{
|
{
|
||||||
RtlFreeHeap(RtlGetProcessHeap(),
|
RtlFreeHeap(RtlGetProcessHeap(), 0, Base);
|
||||||
0,
|
|
||||||
Base);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
@ stub DsRolerGetDcOperationProgress
|
@ stub DsRolerGetDcOperationProgress
|
||||||
@ stub DsRolerGetDcOperationResults
|
@ stub DsRolerGetDcOperationResults
|
||||||
@ stub LsaIAddNameToLogonSession
|
@ stub LsaIAddNameToLogonSession
|
||||||
@ stub LsaIAllocateHeap
|
@ stdcall LsaIAllocateHeap(long) LsapAllocateHeap
|
||||||
@ stub LsaIAllocateHeapZero
|
@ stdcall LsaIAllocateHeapZero(long) LsapAllocateHeapZero
|
||||||
@ stub LsaIAuditAccountLogon
|
@ stub LsaIAuditAccountLogon
|
||||||
@ stub LsaIAuditAccountLogonEx
|
@ stub LsaIAuditAccountLogonEx
|
||||||
@ stub LsaIAuditKdcEvent
|
@ stub LsaIAuditKdcEvent
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
@ stub LsaIFilterSids
|
@ stub LsaIFilterSids
|
||||||
@ stub LsaIForestTrustFindMatch
|
@ stub LsaIForestTrustFindMatch
|
||||||
@ stub LsaIFreeForestTrustInfo
|
@ stub LsaIFreeForestTrustInfo
|
||||||
@ stub LsaIFreeHeap
|
@ stdcall LsaIFreeHeap(ptr) LsapFreeHeap
|
||||||
@ stub LsaIFreeReturnBuffer
|
@ stub LsaIFreeReturnBuffer
|
||||||
@ stub LsaIFree_LSAI_PRIVATE_DATA #DATA
|
@ stub LsaIFree_LSAI_PRIVATE_DATA #DATA
|
||||||
@ stub LsaIFree_LSAI_SECRET_ENUM_BUFFER
|
@ stub LsaIFree_LSAI_SECRET_ENUM_BUFFER
|
||||||
|
|
Loading…
Reference in a new issue