[IMM32_APITEST] himc: Show class on CreateWindow failure (#4466)

Display the window class name on failure of CreateWindow function call.
CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2022-04-23 07:18:38 +09:00 committed by GitHub
parent 8f719cb97e
commit e9df3176f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ static void Test2(void)
LPCSTR pszClass = apszClasses[i];
hwnd = CreateWindowA(pszClass, NULL, WS_VISIBLE, 0, 0, 0, 0, NULL, NULL,
GetModuleHandle(NULL), NULL);
ok(hwnd != NULL, "CreateWindow failed\n");
ok(hwnd != NULL, "CreateWindow(%s) failed\n", pszClass);
hIMC = ImmGetContext(hwnd);