mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[dxdiag]
use unicode structures when using unicode functions svn path=/trunk/; revision=59111
This commit is contained in:
parent
0094a5c00f
commit
72eb8769a6
2 changed files with 3 additions and 3 deletions
|
@ -213,7 +213,7 @@ InitializeDialog(HWND hwndDlg, PDISPLAY_DEVICEW pDispDevice)
|
|||
HKEY hKey;
|
||||
HWND hDlgCtrls[5];
|
||||
DWORD dwMemory;
|
||||
DEVMODE DevMode;
|
||||
DEVMODEW DevMode;
|
||||
IDirect3D9 * ppObj;
|
||||
D3DADAPTER_IDENTIFIER9 Identifier;
|
||||
HRESULT hResult;
|
||||
|
@ -276,7 +276,7 @@ InitializeDialog(HWND hwndDlg, PDISPLAY_DEVICEW pDispDevice)
|
|||
}
|
||||
|
||||
/* retrieve current display mode */
|
||||
DevMode.dmSize = sizeof(DEVMODE);
|
||||
DevMode.dmSize = sizeof(DEVMODEW);
|
||||
if (EnumDisplaySettingsW(pDispDevice->DeviceName, ENUM_CURRENT_SETTINGS, &DevMode))
|
||||
{
|
||||
szFormat[0] = L'\0';
|
||||
|
|
|
@ -50,7 +50,7 @@ InsertTabCtrlItem(HWND hDlgCtrl, INT Position, LPWSTR uId)
|
|||
TCITEMW item;
|
||||
|
||||
/* setup item info */
|
||||
memset(&item, 0, sizeof(TCITEM));
|
||||
memset(&item, 0, sizeof(TCITEMW));
|
||||
item.mask = TCIF_TEXT;
|
||||
|
||||
/* load item name */
|
||||
|
|
Loading…
Reference in a new issue