shlwapi: Ordinal 394 should load and call shell32.SHNotifyChange.

Makes builtin shlwapi behave better during reboot after IE6 install.
This commit is contained in:
Mike McCormack 2006-08-16 11:57:51 +09:00 committed by Alexandre Julliard
parent ba3d4b2243
commit 106e65e0f8
2 changed files with 17 additions and 1 deletions

View file

@ -4431,3 +4431,19 @@ UINT WINAPI ZoneComputePaneSize(HWND hwnd)
FIXME("\n");
return 0x95;
}
typedef void (WINAPI *fnSHChangeNotify)(LONG, UINT, LPCVOID, LPCVOID);
void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2)
{
static fnSHChangeNotify fn;
HMODULE hshell32;
if (!fn)
{
hshell32 = LoadLibraryA("shell32");
if (hshell32)
fn = (fnSHChangeNotify) GetProcAddress(hshell32, "SHChangeNotify");
}
fn(wEventId, uFlags, dwItem1, dwItem2);
}

View file

@ -391,7 +391,7 @@
391 stdcall -noname WNetGetLastErrorWrapW(ptr ptr long ptr long)
392 stdcall -noname EndDialogWrap(ptr ptr) user32.EndDialog
393 stdcall @(long ptr long ptr long) user32.CreateDialogIndirectParamW
394 stdcall @(long ptr long ptr long) user32.CreateDialogIndirectParamA
394 stdcall -noname SHChangeNotify(long long ptr ptr)
395 stub -noname MLWinHelpA
396 stub -noname MLHtmlHelpA
397 stub -noname MLWinHelpW