shell32/tests: SHGetPathFromIDListA returns a BOOL not a HRESULT.
This commit is contained in:
parent
36e73d296b
commit
7361e91fdd
|
@ -178,12 +178,14 @@ static void test_get_set(void)
|
||||||
ok(SUCCEEDED(r), "GetIDList failed (0x%08x)\n", r);
|
ok(SUCCEEDED(r), "GetIDList failed (0x%08x)\n", r);
|
||||||
if (SUCCEEDED(r))
|
if (SUCCEEDED(r))
|
||||||
{
|
{
|
||||||
|
BOOL ret;
|
||||||
|
|
||||||
strcpy(buffer,"garbage");
|
strcpy(buffer,"garbage");
|
||||||
r=SHGetPathFromIDListA(tmp_pidl, buffer);
|
ret = SHGetPathFromIDListA(tmp_pidl, buffer);
|
||||||
todo_wine {
|
todo_wine {
|
||||||
ok(r, "SHGetPathFromIDListA failed\n");
|
ok(ret, "SHGetPathFromIDListA failed\n");
|
||||||
}
|
}
|
||||||
if (r)
|
if (ret)
|
||||||
ok(lstrcmpi(buffer,str)==0, "GetIDList returned '%s'\n", buffer);
|
ok(lstrcmpi(buffer,str)==0, "GetIDList returned '%s'\n", buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue