Author: cwittich
Date: Wed May 29 20:36:22 2013
New Revision: 59111
URL:
http://svn.reactos.org/svn/reactos?rev=59111&view=rev
Log:
[dxdiag]
use unicode structures when using unicode functions
Modified:
trunk/reactos/base/applications/dxdiag/display.c
trunk/reactos/base/applications/dxdiag/dxdiag.c
Modified: trunk/reactos/base/applications/dxdiag/display.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/d…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/display.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/display.c [iso-8859-1] Wed May 29 20:36:22
2013
@@ -213,7 +213,7 @@
HKEY hKey;
HWND hDlgCtrls[5];
DWORD dwMemory;
- DEVMODE DevMode;
+ DEVMODEW DevMode;
IDirect3D9 * ppObj;
D3DADAPTER_IDENTIFIER9 Identifier;
HRESULT hResult;
@@ -276,7 +276,7 @@
}
/* retrieve current display mode */
- DevMode.dmSize = sizeof(DEVMODE);
+ DevMode.dmSize = sizeof(DEVMODEW);
if (EnumDisplaySettingsW(pDispDevice->DeviceName, ENUM_CURRENT_SETTINGS,
&DevMode))
{
szFormat[0] = L'\0';
Modified: trunk/reactos/base/applications/dxdiag/dxdiag.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/d…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/dxdiag.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/dxdiag.c [iso-8859-1] Wed May 29 20:36:22 2013
@@ -50,7 +50,7 @@
TCITEMW item;
/* setup item info */
- memset(&item, 0, sizeof(TCITEM));
+ memset(&item, 0, sizeof(TCITEMW));
item.mask = TCIF_TEXT;
/* load item name */