Author: khornicek
Date: Sun Mar 22 12:08:09 2015
New Revision: 66854
URL:
http://svn.reactos.org/svn/reactos?rev=66854&view=rev
Log:
[WIN32K]
- set the devmode size for ENUM_REGISTRY_SETTINGS case in NtUserEnumDisplaySettings so it
gets copied back to caller later
Modified:
trunk/reactos/win32ss/user/ntuser/display.c
Modified: trunk/reactos/win32ss/user/ntuser/display.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/displa…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/display.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/display.c [iso-8859-1] Sun Mar 22 12:08:09 2015
@@ -602,6 +602,7 @@
/* Get the registry settings */
Status = UserEnumRegistryDisplaySettings(pustrDevice, &dmReg);
pdm = &dmReg;
+ pdm->dmSize = sizeof(DEVMODEW);
}
else if (iModeNum == ENUM_CURRENT_SETTINGS)
{