mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 06:53:00 +00:00
[ROSTESTS] fix x64 build and fix/disable warnings
This commit is contained in:
parent
6a67450893
commit
42d2d5ec9c
56 changed files with 229 additions and 171 deletions
|
@ -190,7 +190,7 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
const WCHAR szString[] = {ALEF, BET, GIMEL, DALET, HEY, 'A', 'B', 'C', 'D', VAV, ZAYIN, HET, TET, YUD, 0};
|
||||
const WCHAR szReversedString[] = {HEY, DALET, GIMEL, BET, ALEF, 'A', 'B', 'C', 'D', YUD, TET, HET, ZAYIN, VAV, 0};
|
||||
int Len = wcslen(szString);
|
||||
int Len = lstrlenW(szString);
|
||||
int i, xpos, tempLength;
|
||||
WCHAR tempString[20] = { 0 };
|
||||
WCHAR Glyphs[100] = { 0 };
|
||||
|
@ -247,15 +247,15 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
for (i = 0, xpos = 10; i < Len; i++, xpos += 30)
|
||||
{
|
||||
StringCchPrintfW(tempString, 20, L"%d", i);
|
||||
tempLength = wcslen(tempString);
|
||||
tempLength = lstrlenW(tempString);
|
||||
TextOutW(hdc, xpos, 430, tempString, tempLength);
|
||||
|
||||
StringCchPrintfW(tempString, 20, L"%d", lpOrder[i]);
|
||||
tempLength = wcslen(tempString);
|
||||
tempLength = lstrlenW(tempString);
|
||||
TextOutW(hdc, xpos, 450, tempString, tempLength);
|
||||
|
||||
StringCchPrintfW(tempString, 20, L"%d", lpCaretPos[i]);
|
||||
tempLength = wcslen(tempString);
|
||||
tempLength = lstrlenW(tempString);
|
||||
TextOutW(hdc, xpos, 470, tempString, tempLength);
|
||||
|
||||
TextOutW(hdc, xpos, 490, &szString[i], 1);
|
||||
|
@ -271,15 +271,15 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
for (i = 0, xpos = 10; i < Len; i++, xpos += 30)
|
||||
{
|
||||
StringCchPrintfW(tempString, 20, L"%d", i);
|
||||
tempLength = wcslen(tempString);
|
||||
tempLength = lstrlenW(tempString);
|
||||
TextOutW(hdc, xpos, 530, tempString, tempLength);
|
||||
|
||||
StringCchPrintfW(tempString, 20, L"%d", lpOrder[i]);
|
||||
tempLength = wcslen(tempString);
|
||||
tempLength = lstrlenW(tempString);
|
||||
TextOutW(hdc, xpos, 550, tempString, tempLength);
|
||||
|
||||
StringCchPrintfW(tempString, 20, L"%d", lpCaretPos[i]);
|
||||
tempLength = wcslen(tempString);
|
||||
tempLength = lstrlenW(tempString);
|
||||
TextOutW(hdc, xpos, 570, tempString, tempLength);
|
||||
|
||||
TextOutW(hdc, xpos, 590, &szString[i], 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue