mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[WINESYNC] setupapi: Fail installation when trying to append to a registry value of the wrong type.
wine commit id 0ab56b88dfdca442ab0820eacc14f6397f628924 by Zebediah Figura <zfigura@codeweavers.com>
This commit is contained in:
parent
ca9d4ee535
commit
85cafd0c49
2 changed files with 3 additions and 3 deletions
|
@ -2376,8 +2376,8 @@ static void test_append_reg(void)
|
|||
|
||||
ret = SetupInstallFromInfSectionA(NULL, hinf, "DefaultInstall", SPINST_REGISTRY,
|
||||
NULL, "C:\\", 0, SetupDefaultQueueCallbackA, context, NULL, NULL);
|
||||
todo_wine ok(!ret, "Expected failure.\n");
|
||||
todo_wine ok(GetLastError() == ERROR_INVALID_DATA, "Got error %#lx.\n", GetLastError());
|
||||
ok(!ret, "Expected failure.\n");
|
||||
ok(GetLastError() == ERROR_INVALID_DATA, "Got error %#lx.\n", GetLastError());
|
||||
|
||||
size = sizeof(value);
|
||||
l = RegQueryValueExA(key, "value", NULL, &type, (BYTE *)value, &size);
|
||||
|
|
|
@ -10,4 +10,4 @@ files:
|
|||
dlls/setupapi/setupcab.c: dll/win32/setupapi/setupcab.c
|
||||
dlls/setupapi/stringtable.c: dll/win32/setupapi/stringtable_wine.c
|
||||
tags:
|
||||
wine: d7c8279c08c25e2afddb33184522386e928d5497
|
||||
wine: 0ab56b88dfdca442ab0820eacc14f6397f628924
|
||||
|
|
Loading…
Reference in a new issue