mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
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),
|
||||
"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)
|
||||
|
Loading…
Reference in New Issue
Block a user