Commit 54d7c801 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

explorer: Initialize the Progman DDE interface when starting explorer.

parent d2ecb119
......@@ -326,6 +326,9 @@ void manage_desktop( WCHAR *arg )
if (hwnd == GetDesktopWindow())
{
HMODULE shell32;
void (WINAPI *pShellDDEInit)( BOOL );
SetWindowLongPtrW( hwnd, GWLP_WNDPROC, (LONG_PTR)desktop_wnd_proc );
SendMessageW( hwnd, WM_SETICON, ICON_BIG, (LPARAM)LoadIconW( 0, MAKEINTRESOURCEW(OIC_WINLOGO)));
if (name) set_desktop_window_title( hwnd, name );
......@@ -334,6 +337,12 @@ void manage_desktop( WCHAR *arg )
initialize_display_settings( hwnd );
initialize_appbar();
initialize_systray();
if ((shell32 = LoadLibraryA( "shell32.dll" )) &&
(pShellDDEInit = (void *)GetProcAddress( shell32, (LPCSTR)188)))
{
pShellDDEInit( TRUE );
}
}
else
{
......
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