shell32/tests: SHGetPathFromIDListA returns a BOOL not a HRESULT.

This commit is contained in:
Paul Vriens 2008-05-20 11:24:38 +02:00 committed by Alexandre Julliard
parent 36e73d296b
commit 7361e91fdd
1 changed files with 5 additions and 3 deletions

View File

@ -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);
} }