From bfe2e3899a2a9e1a32abd88eb7322621c7e45576 Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Mon, 29 Jan 2024 15:19:48 +0100 Subject: [PATCH] Kernel parameters should be stored in wide char --- sdk/xtdk/xtfw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/xtdk/xtfw.h b/sdk/xtdk/xtfw.h index 5ad745d..a69ed77 100644 --- a/sdk/xtdk/xtfw.h +++ b/sdk/xtdk/xtfw.h @@ -127,7 +127,7 @@ typedef struct _KERNEL_INITIALIZATION_BLOCK ULONG BlockSize; ULONG BlockVersion; ULONG ProtocolVersion; - PCHAR KernelParameters; + PWCHAR KernelParameters; LIST_ENTRY LoadOrderListHead; LIST_ENTRY MemoryDescriptorListHead; LIST_ENTRY BootDriverListHead;