reactos/base/system/userinit
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
..
lang [TRANSLATION] Add/Update Indonesian translations (#1904) 2019-10-08 17:03:14 +02:00
res Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
CMakeLists.txt Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
livecd.c [SYSDM][DESK] Fix GetDC/ReleaseDC error management (#2707) 2020-05-07 12:57:46 +02:00
resource.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
userinit.c [USERINIT] Enhancements for starting ReactOS GUI installer or Explorer shell. 2018-10-08 21:16:46 +02:00
userinit.h [USERINIT] Add unattend.inf functionality to livecd 2020-05-05 20:54:30 +02:00
userinit.rc [RUNONCE][USERINIT] Add Portuguese (neutral) translation. (#1656) 2019-06-17 15:12:12 +02:00