Paul Vriens : shell32/tests: SHGetPathFromIDListA returns a BOOL not a HRESULT.
Alexandre Julliard
julliard at winehq.org
Tue May 20 09:06:23 CDT 2008
Module: wine
Branch: master
Commit: 7361e91fdd1aa690f34a9e52be08f0aab7b69e0d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7361e91fdd1aa690f34a9e52be08f0aab7b69e0d
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Tue May 20 11:24:38 2008 +0200
shell32/tests: SHGetPathFromIDListA returns a BOOL not a HRESULT.
---
dlls/shell32/tests/shelllink.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c
index fe923d3..ec3481a 100644
--- a/dlls/shell32/tests/shelllink.c
+++ b/dlls/shell32/tests/shelllink.c
@@ -178,12 +178,14 @@ static void test_get_set(void)
ok(SUCCEEDED(r), "GetIDList failed (0x%08x)\n", r);
if (SUCCEEDED(r))
{
+ BOOL ret;
+
strcpy(buffer,"garbage");
- r=SHGetPathFromIDListA(tmp_pidl, buffer);
+ ret = SHGetPathFromIDListA(tmp_pidl, buffer);
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);
}
More information about the wine-cvs
mailing list