reactos/dll/cpl/desk
Joachim Henze aaf1943349 [0.4.9][DESK] Fix GetDC/ReleaseDC error management
Fix missing ReleaseDC related to the spectrum (color depth)

We leaked one device context for each bpp change within the
desk.cpl-session, which gave the following logging when closing desk.cpl:
(win32ss/user/ntuser/windc.c:749) err: [00060138] GetDC() without ReleaseDC()!
1 time for each leak.

Partial backport of (#2707)
Fix picked from 0.4.15-dev-2867-g d635ce0cc0
2021-07-06 00:51:17 +02:00
..
lang [0.4.9][DESK] Update zh-CN.rc & zh-TW.rc 2021-01-17 07:36:53 +01:00
resources [0.4.9][DESK.CPL] Remove monitor resource scaling (#876) 2021-01-16 22:42:41 +01:00
advappdlg.c
advmon.c [DESK] Rename DATA structures and some functions. #179 2017-12-25 21:12:00 +01:00
appearance.c
appearance.h
background.c [0.4.9][DESK.CPL] Remove monitor resource scaling (#876) 2021-01-16 22:42:41 +01:00
classinst.c
CMakeLists.txt
desk.c [DESK] Rename DATA structures and some functions. #179 2017-12-25 21:12:00 +01:00
desk.h
desk.rc [TRANSLATION] Various translations to Estonian (#329) 2018-01-29 17:03:27 +01:00
desk.spec
devsett.c
dibitmap.c
draw.c [DESK.CPL] Fix hardcoded colors in classic theme preview 2018-01-22 21:45:03 +02:00
draw.h
effappdlg.c [DESK.CPL] Add flat menus option to effects dialog 2018-01-22 20:42:10 +02:00
general.c [DESK.CPL] Fix a Clang-Cl warning about "LogPixels" 2018-05-04 22:02:48 +02:00
guid.c
misc.c
monslctl.c
monslctl.h
muireg.c
preview.c
preview.h
resource.h [DESK.CPL] Add flat menus option to effects dialog 2018-01-22 20:42:10 +02:00
screensaver.c
settings.c [0.4.9][DESK] Fix GetDC/ReleaseDC error management 2021-07-06 00:51:17 +02:00
theme.c