Oldřich Jedlička oldium.pro@seznam.cz writes:
- __TRY
- {
hr = IDirectDraw_CreateSurface(lpDD, NULL, &surf, NULL);todo_wine ok(hr == DDERR_INVALIDPARAMS, "IDirectDraw_CreateSurface didn't return 0x%08x, but 0x%08x\n",DDERR_INVALIDPARAMS, hr);- }
- __EXCEPT_PAGE_FAULT
- {
todo_wine ok(FALSE, "IDirectDraw_CreateSurface dereferenced NULL pointer\n");- }
- __ENDTRY
You can't use Wine exception macros in tests.