reactos/base
Kyle Katarn d635ce0cc0
[SYSDM][DESK] Fix GetDC/ReleaseDC error management (#2707)
## Purpose
[SYSDM]
- When closing System Properties page, log show
(win32ss/user/ntuser/windc.c:749) err: [00060138] GetDC() without ReleaseDC()!
because GetDC() is called (multiple times) without properly calling ReleaseDC() as required in order to release a device context.
- This module also lacks some error management in case null DC are provided (on error).
- LiveCD Userinit, based on SYSDM is affected too.

[DESK]
- Fix missing ReleaseDC related to the spectrum (color depth)

## Proposed changes
- ReleaseDC() added.
- Error management in case of null DC.
- Overall alignement of LiveCD Userinit and SYSDM.
2020-05-07 12:57:46 +02:00
..
applications [RAPPS] 64bit compatibility fix (#2748) 2020-05-07 18:08:08 +09:00
services [SHSVCS] Don't call UnregisterWait from within the wait callback. 2020-04-22 12:37:26 +02:00
setup [WELCOME] pl-pl update (#2717) 2020-05-03 15:30:04 +02:00
shell [EXPLORER] Fix incorrect component position and size for French language (#2671) 2020-04-27 12:32:42 +02:00
system [SYSDM][DESK] Fix GetDC/ReleaseDC error management (#2707) 2020-05-07 12:57:46 +02:00
CMakeLists.txt