[PATCH 0/6] MR261: win32u: nonclient conversion

Huw Davies (@huw) wine at gitlab.winehq.org
Fri Jun 17 01:44:17 CDT 2022


Huw Davies (@huw) commented about dlls/user32/nonclient.c:
> -        {
> -            HMODULE hmodule = LoadLibraryA( "shell32.dll" );
> -            if (hmodule)
> -            {
> -                BOOL (WINAPI *aboutproc)(HWND, LPCSTR, LPCSTR, HICON);
> -                extern const char * CDECL wine_get_version(void);
> -                char app[256];
> -
> -                sprintf( app, "Wine %s", wine_get_version() );
> -                aboutproc = (void *)GetProcAddress( hmodule, "ShellAboutA" );
> -                if (aboutproc) aboutproc( hwnd, app, NULL, 0 );
> -                FreeLibrary( hmodule );
> -            }
> -        }
> -        break;
> -
We probably want to remove the item (and the separator above it) from the SYSMENU then ;-)

Also, there are a couple of work-arounds for it in the menu tests that could also go away.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/261#note_2250



More information about the wine-devel mailing list