Commit e46e095c authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

imm32/tests: Skip tests when IME support is not implemented.

parent e9f5fbc4
......@@ -135,6 +135,7 @@ static HWND hwnd;
static int init(void) {
WNDCLASSEX wc;
HIMC imc;
wc.cbSize = sizeof(WNDCLASSEX);
wc.style = 0;
......@@ -158,6 +159,14 @@ static int init(void) {
if (!hwnd)
return 0;
imc = ImmGetContext(hwnd);
if (!imc)
{
skip("IME support not implemented\n");
return 0;
}
ImmReleaseContext(hwnd, imc);
ShowWindow(hwnd, SW_SHOWNORMAL);
UpdateWindow(hwnd);
......
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