Commit 03bf3cac authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

comdlg32/tests: Disable test which crashes on Win10.

parent a7545791
......@@ -379,14 +379,16 @@ static void test_PrintDlgExW(void)
return;
}
/* Set CommDlgExtendedError != 0 */
PrintDlgA(NULL);
SetLastError(0xdeadbeef);
res = pPrintDlgExW(NULL);
ok( (res == E_INVALIDARG),
"got 0x%x with %u and %u (expected 'E_INVALIDARG')\n",
res, GetLastError(), CommDlgExtendedError());
if (0) /* Crashes on Win10 */
{
/* Set CommDlgExtendedError != 0 */
PrintDlgA(NULL);
SetLastError(0xdeadbeef);
res = pPrintDlgExW(NULL);
ok( (res == E_INVALIDARG),
"got 0x%x with %u and %u (expected 'E_INVALIDARG')\n",
res, GetLastError(), CommDlgExtendedError() );
}
pDlg = HeapAlloc(GetProcessHeap(), 0, (sizeof(PRINTDLGEXW)) + 8);
if (!pDlg) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment