http://bugs.winehq.org/show_bug.cgi?id=49195
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- I think this one is fixed now:
--- 72794 0024: get_user_atom_name( atom=c019 ) 72795 0024: get_user_atom_name() = 0 { total=12, name=L"Static" } 72796 0118: select( flags=3, cookie=162bdf84, timeout=0, size=0, prev_apc=0000, result={}, data={}, contexts={} ) 72797 0118: select() = TIMEOUT { apc_handle=0000, signaled=1, call={}, contexts={} } 72798 0024:trace:class:find_class L"Static" 0 -> 0x7e158ce0 72799 0024:trace:win:WIN_CreateWindowEx (null) #c019->L"Static" ex=00000000 style=91000000 0,0 0x0 parent=00000000 menu=00000000 inst=00000000 params=00000000 72800 0024:trace:win:dump_window_styles style: WS_POPUP WS_VISIBLE WS_MAXIMIZE 72801 0024:trace:win:dump_window_styles exstyle: 72802 0024:trace:win:NtUserCreateWindowEx ex_style 0, class_name L"Static", version <null>, window_name (null), style 0x91000000, x 0, y 0, cx 0, cy 0, parent (nil), menu (nil), class_instan ce (nil), params (nil), flags 0, instance (nil), unk 0, ansi 1 72803 0024: create_window( parent=00010020, owner=00000000, atom=0000, class_instance=00000000, instance=00000000, dpi_context=00006010, style=81000000, ex_style=00000000, class=L"Static" ) 72804 0024: create_window() = 0 { handle=00010056, parent=00010020, owner=00000000, extra=8, class_ptr=7e158ce0 } 72805 0024: alloc_user_handle( type=0011 ) 72806 0024: alloc_user_handle() = 0 { handle=00010058 } ---
We had some changes to atoms handling recently. However as win32u tests show those atom values are not that stable, and on Windows 11 they are shifted, affecting Static class too. This demo does not start for me on Windows 11, I don't know if atom changes are the reason.