shell32/tests: Avoid preprocessor check to ensure it compiles.
This commit is contained in:
parent
28b9e1b947
commit
9d1fdf1165
|
@ -87,13 +87,14 @@ static void test_StrRetToStringNW(void)
|
||||||
"STRRET_OFFSET: dup failed, ret=%d\n", ret);
|
"STRRET_OFFSET: dup failed, ret=%d\n", ret);
|
||||||
|
|
||||||
/* The next test crashes on W2K, WinXP and W2K3, so we don't test. */
|
/* The next test crashes on W2K, WinXP and W2K3, so we don't test. */
|
||||||
#if 0
|
if (0)
|
||||||
|
{
|
||||||
/* Invalid dest - should return FALSE, except NT4 does not, so we don't check. */
|
/* Invalid dest - should return FALSE, except NT4 does not, so we don't check. */
|
||||||
strret.uType = STRRET_WSTR;
|
strret.uType = STRRET_WSTR;
|
||||||
U(strret).pOleStr = CoDupStrW("Test");
|
U(strret).pOleStr = CoDupStrW("Test");
|
||||||
pStrRetToStrNAW(NULL, sizeof(buff)/sizeof(WCHAR), &strret, NULL);
|
pStrRetToStrNAW(NULL, sizeof(buff)/sizeof(WCHAR), &strret, NULL);
|
||||||
trace("NULL dest: ret=%d\n", ret);
|
trace("NULL dest: ret=%d\n", ret);
|
||||||
#endif
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
START_TEST(string)
|
START_TEST(string)
|
||||||
|
|
Loading…
Reference in New Issue