user32/tests: Disable automatic shell restart during SetShellWindow tests.
commitef743e41eec277341dcf5a323c8c5422d8a7dfbe
authorHans Leidekker <hans@codeweavers.com>
Tue, 20 Dec 2016 11:09:05 +0000 (20 12:09 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Dec 2016 12:02:49 +0000 (20 13:02 +0100)
tree14e61ae75ed606a3df99603feeac8f5cfe6d4449
parent53b7a36319895f929e3dcdc0433cc2e55020dd34
user32/tests: Disable automatic shell restart during SetShellWindow tests.

This test kills the desktop shell process so it can set a different shell window.
Modern Windows will automatically restart the desktop shell when it dies, and if
that happens soon enough it will interfere with the remaining tests.

Disabling automatic restart requires admin rights.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/tests/win.c