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
CMakeLists.txt
livecd.c [SYSDM][DESK] Fix GetDC/ReleaseDC error management (#2707) 2020-05-07 12:57:46 +02:00
resource.h
userinit.c
userinit.h [USERINIT] Add unattend.inf functionality to livecd 2020-05-05 20:54:30 +02:00
userinit.rc