From dd0c86003d3a59b564d1fd6a880dc088a9ebe695 Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 26 Sep 2022 22:54:21 +0200 Subject: [PATCH] Set correct calling convention for RtlWideStringCompare() and RtlWideStringTokenize() routines --- xtoskrnl/xtoskrnl.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xtoskrnl/xtoskrnl.spec b/xtoskrnl/xtoskrnl.spec index b526b4c..f8f12d8 100644 --- a/xtoskrnl/xtoskrnl.spec +++ b/xtoskrnl/xtoskrnl.spec @@ -6,6 +6,6 @@ @ stdcall RtlMoveMemory(ptr ptr long) @ stdcall RtlSameMemory(ptr ptr long) @ stdcall RtlSetMemory(ptr long long) -@ stdcall RtlWideStringCompare(wstr wstr long) -@ stdcall RtlWideStringTokenize(wstr wstr wstr) +@ cdecl RtlWideStringCompare(wstr wstr long) +@ cdecl RtlWideStringTokenize(wstr wstr wstr) @ stdcall RtlZeroMemory(ptr long) \ No newline at end of file