[WIN32SS] Implement PDEVOBJ_lChangeDisplaySettings to create initial MDEV
authorHervé Poussineau <hpoussin@reactos.org>
Sun, 20 Mar 2022 16:38:16 +0000 (17:38 +0100)
committerhpoussin <32227662+hpoussin@users.noreply.github.com>
Fri, 15 Apr 2022 21:09:16 +0000 (23:09 +0200)
commit2d2824f1b98b772eb36e4e2b75185b48cbeed618
treea3a3fad89b6f166663cbc9d6a596ae76e4e99911
parent9db63ad59552fd58d94934ebb158b18177da468a
[WIN32SS] Implement PDEVOBJ_lChangeDisplaySettings to create initial MDEV

This function can create a MDEV for the whole display (maybe containing multiple
PDEVs), or update settings of a specific PDEV.

- call PDEVOBJ_lChangeDisplaySettings when switching to graphics mode.
- modify EngpGetPDEV to search requested PDEV only in current MDEV
win32ss/gdi/eng/pdevobj.c
win32ss/gdi/eng/pdevobj.h
win32ss/user/ntuser/winsta.c