[PATCH v3 4/4] ntoskrnl.exe: change setupapi to IMPORTS from DELAYIMPORTS

Jordan Coppard jordan at niau.io
Tue Jul 28 10:32:51 CDT 2020

Using DELAYIMPORTS is breaking startup of old MapleStory clients using
GameGuard. After discussion in #winehackers IRC, it was remarked that
there is no good reason to keep setupapi under DELAYIMPORTS, thus I have
moved all occurrences of it to IMPORTS instead which allows said old
MapleStory clients to open successfully.

Signed-off-by: Jordan Coppard <jordan at niau.io>
 dlls/ntoskrnl.exe/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntoskrnl.exe/Makefile.in b/dlls/ntoskrnl.exe/Makefile.in
index df48e44ede..10e5b7951e 100644
--- a/dlls/ntoskrnl.exe/Makefile.in
+++ b/dlls/ntoskrnl.exe/Makefile.in
@@ -1,7 +1,7 @@
 MODULE    = ntoskrnl.exe
 IMPORTLIB = ntoskrnl
-IMPORTS   = advapi32 hal msvcrt
-DELAYIMPORTS = rpcrt4 setupapi
+IMPORTS   = advapi32 hal msvcrt setupapi
 EXTRADLLFLAGS = -mno-cygwin

More information about the wine-devel mailing list