From b718b0b0192b4ade490487aa37e4421b6d6624c8 Mon Sep 17 00:00:00 2001 From: Jakob Eriksson Date: Tue, 22 Mar 2005 18:19:13 +0000 Subject: [PATCH] StrRetToStrNAW returns ok on NT4, though it should return FALSE. --- dlls/shell32/tests/string.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/shell32/tests/string.c b/dlls/shell32/tests/string.c index eb056ae93b8..b8c02c2d417 100644 --- a/dlls/shell32/tests/string.c +++ b/dlls/shell32/tests/string.c @@ -88,12 +88,11 @@ static void test_StrRetToStringNW(void) ok(ret == TRUE && !strcmpW(buff, szTestW), "STRRET_OFFSET: dup failed, ret=%d\n", ret); - /* Invalid dest - returns FALSE */ + /* Invalid dest - should return FALSE, except NT4 does not, so we don't check. */ strret.uType = STRRET_WSTR; strret.u.pOleStr = CoDupStrW("Test"); - ret = pStrRetToStrNAW(NULL, sizeof(buff)/sizeof(WCHAR), &strret, NULL); - ok(ret == FALSE, "NULL dest: expected FALSE, ret=%d\n", ret); - + pStrRetToStrNAW(NULL, sizeof(buff)/sizeof(WCHAR), &strret, NULL); + trace("NULL dest: ret=%d\n", ret); } START_TEST(string)