mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:50:21 +00:00
shlwapi: Ordinal 394 should load and call shell32.SHNotifyChange.
Makes builtin shlwapi behave better during reboot after IE6 install.
This commit is contained in:
parent
ba3d4b2243
commit
106e65e0f8
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue