X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rostests%2Fapitests%2Fuser32%2FRegisterClassEx.c;h=e07e76371a86036b375fb02531b981d3badb88a4;hp=3883822f548c64734bfa8e3e707898edf53eb7c0;hb=126bbfdb97e9163535a161a10d1fb24751fe523f;hpb=6f9bc0e872d998d74d6102c7693d0739dad55535;ds=inline diff --git a/rostests/apitests/user32/RegisterClassEx.c b/rostests/apitests/user32/RegisterClassEx.c index 3883822f548..e07e76371a8 100644 --- a/rostests/apitests/user32/RegisterClassEx.c +++ b/rostests/apitests/user32/RegisterClassEx.c @@ -188,6 +188,7 @@ VOID TestVersionedClasses(VOID) ActivateActCtx(h1, &cookie1); proc2 = _GetWndproc(L"VersionTestClass1", hmod); c = _RegisterClass(L"VersionTestClass1", hmod, 0, DefWindowProcW); + d = _GetClassAtom(L"VersionTestClass1", hmod); proc3 = _GetWndproc(L"VersionTestClass1", hmod); proc4 = _GetWndproc((LPCWSTR)(DWORD_PTR)a, hmod); DeactivateActCtx(0, cookie1); @@ -195,7 +196,9 @@ VOID TestVersionedClasses(VOID) ok( a != 0, "\n"); ok( b == 0, "\n"); ok( c != 0, "\n"); + ok( d != 0, "\n"); ok( a == c, "\n"); + ok( a == d, "\n"); ok (proc1 == DefWindowProcA, "\n"); ok (proc2 == NULL, "Got 0x%p, expected NULL\n", proc2); ok (proc3 == DefWindowProcW, "Got 0x%p, expected 0x%p\n", proc3, DefWindowProcW);