mirror of
https://github.com/reactos/reactos.git
synced 2025-05-27 13:08:23 +00:00
[SERIALUI_WINETEST] Sync with Wine Staging 4.0. CORE-15682
This commit is contained in:
parent
739fc06f27
commit
96eddc22d2
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ static void test_drvCommConfigDialogW(void)
|
||||||
/* test ports "com1" - "com4" */
|
/* test ports "com1" - "com4" */
|
||||||
for (i = 1; i < 5 ; i++) {
|
for (i = 1; i < 5 ; i++) {
|
||||||
sprintf(bufferA, fmt_comA, i);
|
sprintf(bufferA, fmt_comA, i);
|
||||||
MultiByteToWideChar( CP_ACP, 0, bufferA, -1, bufferW, sizeof(bufferW)/sizeof(WCHAR) );
|
MultiByteToWideChar(CP_ACP, 0, bufferA, -1, bufferW, ARRAY_SIZE(bufferW));
|
||||||
len = sizeof(pCC);
|
len = sizeof(pCC);
|
||||||
ZeroMemory(pCC, sizeof(pCC));
|
ZeroMemory(pCC, sizeof(pCC));
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
|
@ -346,7 +346,7 @@ static void test_drvGetDefaultCommConfigW(void)
|
||||||
/* test ports "com0" - "com10" */
|
/* test ports "com0" - "com10" */
|
||||||
for (i = 0; i < 11 ; i++) {
|
for (i = 0; i < 11 ; i++) {
|
||||||
sprintf(bufferA, fmt_comA, i);
|
sprintf(bufferA, fmt_comA, i);
|
||||||
MultiByteToWideChar( CP_ACP, 0, bufferA, -1, bufferW, sizeof(bufferW)/sizeof(WCHAR) );
|
MultiByteToWideChar(CP_ACP, 0, bufferA, -1, bufferW, ARRAY_SIZE(bufferW));
|
||||||
len = sizeof(pCC);
|
len = sizeof(pCC);
|
||||||
ZeroMemory(pCC, sizeof(pCC));
|
ZeroMemory(pCC, sizeof(pCC));
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
|
|
Loading…
Reference in a new issue