Sweden-Number/dlls/user32
Zebediah Figura 50aeb5e777 user32: Do not delay-load setupapi.
This fixes a deadlock in the Steel Series Engine installer, between the
"user_section" lock and the loader lock.

Currently user32 takes the "user_section" lock during THREAD_DETACH, i.e. while
the loader lock is held. However, it is also possible for a thread to take the
locks in the reverse order. The observed path is:
 - register_builtin()
 - LoadCursorA()
 - get_display_bpp()
 - get_display_dc()
 - CreateDCW()
 - GetDeviceCaps(DESKTOPHORZRES)
 - GetSystemMetrics(SM_CXVIRTUALSCREEN)
 - EnumDisplayMonitors()
 - update_monitor_cache()

Since we now rely on setupapi for fundamental tasks such as determining screen
size, it doesn't make much sense to delay-load it.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 18:04:35 +01:00
..
resources
tests server: Ignore low word of a class instance when looking up for a window class. 2020-02-27 23:34:51 +01:00
Makefile.in user32: Do not delay-load setupapi. 2020-03-10 18:04:35 +01:00
button.c
caret.c
class.c
clipboard.c
combo.c
controls.h
cursoricon.c
dde_client.c
dde_misc.c
dde_private.h
dde_server.c
defdlg.c
defwnd.c
desktop.c
dialog.c
driver.c user32: Initialize module handle to NULL for null driver. 2020-02-16 20:47:12 +01:00
edit.c
exticon.c
focus.c
hook.c
icontitle.c
input.c
listbox.c
lstr.c
mdi.c
menu.c
message.c user32: Pack messages sent with SendNotifyMessage(). 2020-01-31 10:47:54 +01:00
misc.c
msgbox.c
nonclient.c
painting.c
property.c
rawinput.c
resource.c
resources.h
scroll.c user32: Improve window state handling in SetScrollInfo(). 2020-01-28 14:23:42 +01:00
spy.c
static.c
sysparams.c user32: Add EnableNonClientDpiScaling stub. 2020-02-19 20:34:13 +01:00
text.c
uitools.c
user32.rc
user32.spec user32: Add EnableNonClientDpiScaling stub. 2020-02-19 20:34:13 +01:00
user_main.c
user_private.h
win.c
win.h
winhelp.c
winpos.c user32: Support SetWindowPos() SWP_ASYNCWINDOWPOS flag. 2020-01-31 10:47:54 +01:00
winproc.c
winstation.c
wsprintf.c user32: Fix wsprintfW %C conversion. 2020-02-19 20:26:53 +01:00