reactos/win32ss/user/ntuser
Hermès Bélusca-Maïto 333ce14dad
[WIN32SS] Try to recover display when changing the display mode fails for whatever reason.
This helps when e.g. changing the resolution on the Dell Latitude D531,
which reports that it supports large resolutions (e.g. 1920x1440x32 and
others larger than 1024x768x32) but fails to apply these.
This usually happens because PDEVOBJ_pSurface(), and more precisely
ppdev->pldev->pfn.EnableSurface(), fails for these resolutions.

- PDEVOBJ_bSwitchMode(): Set the new video mode, or restore the original
  one in case of failure + release the allocated ppdevTmp if previous
  calls fail. Also unlock in reverse order of locking order.

- UserChangeDisplaySettings(): In case PDEVOBJ_pSurface() fails (but has
  reverted the original video mode), we still need to refresh the
  display since the display may have been messed up.
2019-01-02 21:12:22 +01:00
..
misc [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
accelerator.c
accelerator.h
callback.c
callback.h
callproc.c
caret.c
caret.h
class.c [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
class.h [WIN32SS][USER32] Add Ghost codes (retrial of #1100) (#1112) 2018-12-11 12:30:59 +09:00
clipboard.c [WIN32SS] Fix NtUserGetClipboardData for text paste (#645) 2018-06-30 17:12:23 +02:00
clipboard.h
console.c
csr.c [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
csr.h [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
cursoricon.c [REACTOS] Improve/Fix some "printf" formats (#555) 2018-05-30 14:18:23 +02:00
cursoricon.h
dce.h
dde.c
defwnd.c [USER32][WIN32SS] Fix display of owned popup windows (#683) 2018-07-13 16:03:45 +02:00
desktop.c [NTUSER] Fix a few tests related to desktops and window stations 2019-01-02 17:15:40 +02:00
desktop.h [NTUSER] Fix a few tests related to desktops and window stations 2019-01-02 17:15:40 +02:00
display.c [WIN32SS] Try to recover display when changing the display mode fails for whatever reason. 2019-01-02 21:12:22 +01:00
draw.c [WIN32SS][FONT] Fix font metrics (#713) 2018-08-12 15:12:13 +02:00
event.c [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
focus.c [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
focus.h
ghost.c [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
ghost.h [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
guicheck.c
guicheck.h
hook.c [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
hook.h [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
hotkey.c
hotkey.h
ime.c
input.c [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
input.h [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
kbdlayout.c [NDK] Replace the SYSTEMTIME fields StandardDate and DaylightDate in RTL_TIME_ZONE_INFORMATION by TIME_FIELDs and fix resulting errors 2018-05-31 17:48:29 +02:00
keyboard.c [WIN32K] Work around GCC builds inventing dead keys. 2018-09-23 20:03:14 +02:00
layered.c
main.c [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
menu.c [WIN32K:NTUSER] Reference menus owned by a popup menu. CORE-15504 2018-12-30 00:25:01 +01:00
menu.h
message.c [WIN32SS][USER32] Add Ghost codes (retrial of #1100) (#1112) 2018-12-11 12:30:59 +09:00
metric.c
misc.c [WIN32K:NTUSER] Similarly to what was done in USERSRV for harderrors, introduce the _scwprintf() helper function based on the imported _vscwprintf(). 2018-08-19 22:18:34 +02:00
mmcopy.h
monitor.c
monitor.h
mouse.c [WIN32K] Check if the window being destroyed is currently tracked. (#103) 2017-11-04 15:00:54 +01:00
msgqueue.c [WIN32K] Fix DBG_PRINT macro. 2018-06-10 04:00:06 +02:00
msgqueue.h
nonclient.c [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
ntstubs.c [WINSRV] Add a hack to fix giving the api port to win32k 2018-12-19 16:13:18 +02:00
ntuser.c [NTDLL][NTUSER][SPOOLSS][WINSPOOL] Add some missing VOIDs. CORE-11799 (#94) 2017-10-28 13:46:11 +01:00
ntuser.h [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
object.c [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
object.h
painting.c [WIN32SS][LPK] Add BiDi support to menus and window captions (#738) 2018-08-23 19:43:12 +02:00
painting.h
prop.c
prop.h
scroll.h
scrollbar.c [WIN32SS] Disable scrollbars when SIF_DISABLENOSCROLL is used 2018-10-28 13:02:27 +01:00
scrollex.c [NTUSER] Don't crash when the current thread doesn't have a desktop 2018-12-19 16:13:18 +02:00
session.c
shutdown.c [WIN32K:NTUSER] Add an extra optional "Process" parameter to the GetProcessLuid() function to be used alternatively in place of "Thread" to retrieve the LUID. 2018-08-19 22:18:30 +02:00
shutdown.h
simplecall.c [NTUSER] Implement creating the system threads 2018-12-19 16:13:18 +02:00
sysparams.c [WIN32K:NTUSER] Code style fixes only. 2018-08-19 22:18:36 +02:00
sysparams.h [WIN32K][DESK.CPL]: Add fit and fill background placement options (#28) 2017-10-13 21:44:02 +02:00
tags.h
timer.c
timer.h
useratom.c
useratom.h
userfuncs.h [WIN32K:NTUSER] Similarly to what was done in USERSRV for harderrors, introduce the _scwprintf() helper function based on the imported _vscwprintf(). 2018-08-19 22:18:34 +02:00
usrheap.c
usrheap.h
vis.c
vis.h
win32.h [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
win32kdebug.h [CMAKE] Zap builddir.h.cmake and instead define macros globally 2018-06-30 13:26:56 +02:00
windc.c
window.c [WIN32K:NTUSER] co_UserDestroyWindow(): Simplify the destruction of the owned windows. 2018-09-01 23:46:21 +02:00
window.h [USER32][WIN32SS] Fix display of owned popup windows (#683) 2018-07-13 16:03:45 +02:00
winpos.c [WIN32K][NTUSER] Specify constant name explicitly (#1067) 2018-11-25 14:31:23 +01:00
winpos.h
winsta.c [NTUSER] Fix a few tests related to desktops and window stations 2019-01-02 17:15:40 +02:00
winsta.h [WIN32K:NTUSER] Fixes for NtUserCreateWindowStation(), IntCreateWindowStation() and NtUserOpenWindowStation(). 2018-08-19 22:18:35 +02:00