shell32/tests: Make test explicit about return pointer.

This commit is contained in:
Nikolay Sivov 2011-09-11 20:19:35 +04:00 committed by Alexandre Julliard
parent 497c3982b6
commit c03f813c87
1 changed files with 4 additions and 2 deletions

View File

@ -84,10 +84,12 @@ static void test_namespace(void)
V_VT(&var) = VT_I4; V_VT(&var) = VT_I4;
V_I4(&var) = -1; V_I4(&var) = -1;
folder = (void*)0xdeadbeef;
r = IShellDispatch_NameSpace(sd, var, &folder); r = IShellDispatch_NameSpace(sd, var, &folder);
todo_wine todo_wine {
ok(r == S_FALSE, "expected S_FALSE, got %08x\n", r); ok(r == S_FALSE, "expected S_FALSE, got %08x\n", r);
ok(folder == NULL, "got %p\n", folder);
}
V_VT(&var) = VT_I4; V_VT(&var) = VT_I4;
V_I4(&var) = ssfPROGRAMFILES; V_I4(&var) = ssfPROGRAMFILES;
r = IShellDispatch_NameSpace(sd, var, &folder); r = IShellDispatch_NameSpace(sd, var, &folder);