Alexandre Julliard julliard@winehq.org wrote:
- if (!set_active_window( hwnd, &prev, FALSE, TRUE )) return 0;
- set_active_window( hwnd, &prev, FALSE, TRUE ); return prev;
}
It doesn't seem right to ignore all errors. This would need some more tests.
What kind of tests do you have in mind? Invalid window? Something else?