Commit 563561ee authored by Alexandre Julliard's avatar Alexandre Julliard

Use GetProcAddress instead of calling ShellAboutA directly.

parent 54dc94eb
......@@ -2769,7 +2769,15 @@ LONG NC_HandleSysCommand( HWND hwnd, WPARAM16 wParam, POINT16 pt )
case SC_SCREENSAVE:
if (wParam == SC_ABOUTWINE)
ShellAboutA(hwnd,"Wine", WINE_RELEASE_INFO, 0);
{
HMODULE hmodule = LoadLibraryA( "shell32.dll" );
if (hmodule)
{
FARPROC aboutproc = GetProcAddress( hmodule, "ShellAboutA" );
if (aboutproc) aboutproc( hwnd, "Wine", WINE_RELEASE_INFO, 0 );
FreeLibrary( hmodule );
}
}
else
if (wParam == SC_PUTMARK)
TRACE_(shell)("Mark requested by user\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment