[NTOS] Fix Shim AVL prototypes to exactly match the types expected by RtlInitializeGenericTableAvl. #179

This commit is contained in:
Amine Khaldi 2017-12-25 22:34:57 +01:00
parent 5a54e722b3
commit 007131b5de

View file

@ -208,7 +208,7 @@ ApphelpCacheQueryInfo(
RTL_GENERIC_COMPARE_RESULTS RTL_GENERIC_COMPARE_RESULTS
NTAPI NTAPI
ApphelpShimCacheCompareRoutine( ApphelpShimCacheCompareRoutine(
_In_ PRTL_AVL_TABLE Table, _In_ struct _RTL_AVL_TABLE *Table,
_In_ PVOID FirstStruct, _In_ PVOID FirstStruct,
_In_ PVOID SecondStruct) _In_ PVOID SecondStruct)
{ {
@ -233,7 +233,7 @@ ApphelpShimCacheCompareRoutine(
PVOID PVOID
NTAPI NTAPI
ApphelpShimCacheAllocateRoutine( ApphelpShimCacheAllocateRoutine(
_In_ PRTL_AVL_TABLE Table, _In_ struct _RTL_AVL_TABLE *Table,
_In_ CLONG ByteSize) _In_ CLONG ByteSize)
{ {
return ApphelpAlloc(ByteSize); return ApphelpAlloc(ByteSize);
@ -242,7 +242,7 @@ ApphelpShimCacheAllocateRoutine(
VOID VOID
NTAPI NTAPI
ApphelpShimCacheFreeRoutine( ApphelpShimCacheFreeRoutine(
_In_ PRTL_AVL_TABLE Table, _In_ struct _RTL_AVL_TABLE *Table,
_In_ PVOID Buffer) _In_ PVOID Buffer)
{ {
ApphelpFree(Buffer); ApphelpFree(Buffer);