mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[WINESYNC] setupapi: Create the registry value if it doesn't exist in append_multi_sz_value().
wine commit id 38e36e8fdaf6dc682ce5af7b5b00cb795fffd967 by Zebediah Figura <zfigura@codeweavers.com>
This commit is contained in:
parent
85cafd0c49
commit
92dc4627bc
2 changed files with 5 additions and 8 deletions
|
@ -2332,13 +2332,10 @@ static void test_append_reg(void)
|
|||
ok(!l, "Got error %lu.\n", l);
|
||||
size = sizeof(value);
|
||||
l = RegQueryValueExA(key, "value", NULL, &type, (BYTE *)value, &size);
|
||||
todo_wine ok(!l, "Got error %lu.\n", l);
|
||||
if (!l)
|
||||
{
|
||||
ok(type == REG_MULTI_SZ, "Got type %#lx.\n", type);
|
||||
ok(size == sizeof("data\0"), "Got size %lu.\n", size);
|
||||
ok(!memcmp(value, "data\0", size), "Got data %s.\n", debugstr_an(value, size));
|
||||
}
|
||||
ok(!l, "Got error %lu.\n", l);
|
||||
ok(type == REG_MULTI_SZ, "Got type %#lx.\n", type);
|
||||
ok(size == sizeof("data\0"), "Got size %lu.\n", size);
|
||||
ok(!memcmp(value, "data\0", size), "Got data %s.\n", debugstr_an(value, size));
|
||||
|
||||
/* Key exists and already has a value. */
|
||||
|
||||
|
|
|
@ -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: 0ab56b88dfdca442ab0820eacc14f6397f628924
|
||||
wine: 38e36e8fdaf6dc682ce5af7b5b00cb795fffd967
|
||||
|
|
Loading…
Reference in a new issue