From 007131b5de40f3c6c5a1c87773a58bc81831ed5d Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 25 Dec 2017 22:34:57 +0100 Subject: [PATCH] [NTOS] Fix Shim AVL prototypes to exactly match the types expected by RtlInitializeGenericTableAvl. #179 --- ntoskrnl/ps/apphelp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ntoskrnl/ps/apphelp.c b/ntoskrnl/ps/apphelp.c index 11ae406bc21..6cdea62bca1 100644 --- a/ntoskrnl/ps/apphelp.c +++ b/ntoskrnl/ps/apphelp.c @@ -208,7 +208,7 @@ ApphelpCacheQueryInfo( RTL_GENERIC_COMPARE_RESULTS NTAPI ApphelpShimCacheCompareRoutine( - _In_ PRTL_AVL_TABLE Table, + _In_ struct _RTL_AVL_TABLE *Table, _In_ PVOID FirstStruct, _In_ PVOID SecondStruct) { @@ -233,7 +233,7 @@ ApphelpShimCacheCompareRoutine( PVOID NTAPI ApphelpShimCacheAllocateRoutine( - _In_ PRTL_AVL_TABLE Table, + _In_ struct _RTL_AVL_TABLE *Table, _In_ CLONG ByteSize) { return ApphelpAlloc(ByteSize); @@ -242,7 +242,7 @@ ApphelpShimCacheAllocateRoutine( VOID NTAPI ApphelpShimCacheFreeRoutine( - _In_ PRTL_AVL_TABLE Table, + _In_ struct _RTL_AVL_TABLE *Table, _In_ PVOID Buffer) { ApphelpFree(Buffer); -- 2.17.1