Added include-LdrData patchset

This commit is contained in:
Paul Gofman
2019-12-18 03:00:37 +03:00
parent b788fe9549
commit 088d7f9ddf
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
From 4a62c326b24ecb2f7c19b2fbc25ff1d20e362db7 Mon Sep 17 00:00:00 2001
From: Paul Gofman <gofmanp@gmail.com>
Date: Wed, 18 Dec 2019 02:54:18 +0300
Subject: [PATCH] include/winternl.h: Add Vista+ PEB_LDR_DATA structure fields.
---
include/winternl.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/winternl.h b/include/winternl.h
index 9e7e2bad93..33b1260323 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -213,6 +213,8 @@ typedef struct _PEB_LDR_DATA
LIST_ENTRY InMemoryOrderModuleList;
LIST_ENTRY InInitializationOrderModuleList;
PVOID EntryInProgress;
+ BOOLEAN ShutdownInProgress;
+ HANDLE ShutdownThreadId;
} PEB_LDR_DATA, *PPEB_LDR_DATA;
typedef struct _GDI_TEB_BATCH
--
2.23.0

View File

@@ -0,0 +1,2 @@
Fixes: [48289] Grand Theft Auto 5 crashes after loading.