https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e9df3176f75b1269144a5721d18ab310522e9efd

commit e9df3176f75b1269144a5721d18ab310522e9efd
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Sat Apr 23 07:18:38 2022 +0900
Commit:     GitHub <[email protected]>
CommitDate: Sat Apr 23 07:18:38 2022 +0900

    [IMM32_APITEST] himc: Show class on CreateWindow failure (#4466)
    
    Display the window class name on failure of CreateWindow function call.
    CORE-11700
---
 modules/rostests/apitests/imm32/himc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/rostests/apitests/imm32/himc.c 
b/modules/rostests/apitests/imm32/himc.c
index d2e7104ba24..38ad975fcc9 100644
--- a/modules/rostests/apitests/imm32/himc.c
+++ b/modules/rostests/apitests/imm32/himc.c
@@ -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);
 

Reply via email to