StrRetToStrNAW returns ok on NT4, though it should return FALSE.
This commit is contained in:
parent
665b9ca377
commit
b718b0b019
@ -88,12 +88,11 @@ static void test_StrRetToStringNW(void)
|
|||||||
ok(ret == TRUE && !strcmpW(buff, szTestW),
|
ok(ret == TRUE && !strcmpW(buff, szTestW),
|
||||||
"STRRET_OFFSET: dup failed, ret=%d\n", ret);
|
"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.uType = STRRET_WSTR;
|
||||||
strret.u.pOleStr = CoDupStrW("Test");
|
strret.u.pOleStr = CoDupStrW("Test");
|
||||||
ret = pStrRetToStrNAW(NULL, sizeof(buff)/sizeof(WCHAR), &strret, NULL);
|
pStrRetToStrNAW(NULL, sizeof(buff)/sizeof(WCHAR), &strret, NULL);
|
||||||
ok(ret == FALSE, "NULL dest: expected FALSE, ret=%d\n", ret);
|
trace("NULL dest: ret=%d\n", ret);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(string)
|
START_TEST(string)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user