mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:03:01 +00:00
Fix EnumDisplaySettingsExA (did not output anything into devmode)
svn path=/trunk/; revision=10189
This commit is contained in:
parent
cec39741e7
commit
f7dff7223a
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: display.c,v 1.10 2004/07/08 00:46:22 weiden Exp $
|
/* $Id: display.c,v 1.11 2004/07/18 00:36:33 blight Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
* FILE: lib/user32/misc/dde.c
|
* FILE: lib/user32/misc/dde.c
|
||||||
|
@ -142,6 +142,7 @@ EnumDisplaySettingsExA(
|
||||||
rc = NtUserEnumDisplaySettings ( &DeviceName, iModeNum, &DevModeW, dwFlags );
|
rc = NtUserEnumDisplaySettings ( &DeviceName, iModeNum, &DevModeW, dwFlags );
|
||||||
|
|
||||||
RtlFreeUnicodeString ( &DeviceName );
|
RtlFreeUnicodeString ( &DeviceName );
|
||||||
|
RosRtlDevModeW2A ( lpDevMode, &DevModeW );
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue