win32u: Allow drivers to set the null user driver.
commit243c19098ee2e5c87a6bdbebdbb4c5cf598a9de2
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Tue, 28 Feb 2023 17:22:54 +0000 (28 19:22 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 16 Mar 2023 11:52:37 +0000 (16 12:52 +0100)
treed3b1cdb4d0077970f12834096522cee338ef0838
parent50c1b1974f9751a4cfe12360ba516f20708a6d6e
win32u: Allow drivers to set the null user driver.

Allow passing NULL as the user driver to __wine_set_user_driver(),
to set the internal null user driver. This is useful for drivers
that may need to tentatively set their own user driver during setup
and reset it on failure.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
dlls/win32u/driver.c