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) ...@@ -379,14 +379,16 @@ static void test_PrintDlgExW(void)
return; return;
} }
/* Set CommDlgExtendedError != 0 */ if (0) /* Crashes on Win10 */
PrintDlgA(NULL); {
SetLastError(0xdeadbeef); /* Set CommDlgExtendedError != 0 */
res = pPrintDlgExW(NULL); PrintDlgA(NULL);
ok( (res == E_INVALIDARG), SetLastError(0xdeadbeef);
"got 0x%x with %u and %u (expected 'E_INVALIDARG')\n", res = pPrintDlgExW(NULL);
res, GetLastError(), CommDlgExtendedError()); 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); pDlg = HeapAlloc(GetProcessHeap(), 0, (sizeof(PRINTDLGEXW)) + 8);
if (!pDlg) return; 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