[PATCH v3 3/4] setupapi: Delay-load user32.

Zebediah Figura zfigura at codeweavers.com
Tue Jun 11 18:53:40 CDT 2019


We want to load setupapi from services.exe. We do not want to initialize
user32 there, as that results in creation of a window station.
---
 dlls/setupapi/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/setupapi/Makefile.in b/dlls/setupapi/Makefile.in
index bf157cb7767..6bb9d59bf59 100644
--- a/dlls/setupapi/Makefile.in
+++ b/dlls/setupapi/Makefile.in
@@ -1,8 +1,8 @@
 EXTRADEFS = -D_SETUPAPI_
 MODULE    = setupapi.dll
 IMPORTLIB = setupapi
-IMPORTS   = uuid user32 version advapi32 rpcrt4
-DELAYIMPORTS = shell32 wintrust ole32 winspool comdlg32
+IMPORTS   = uuid version advapi32 rpcrt4
+DELAYIMPORTS = shell32 wintrust ole32 winspool comdlg32 user32
 
 C_SRCS = \
 	devinst.c \
-- 
2.20.1




More information about the wine-devel mailing list