mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 19:53:22 +00:00
[BROWSEUI][SHELL32] Treat OnWinEvent's result parameter as optional. CORE-14443
Windows's explorer can call it with NULL.
This commit is contained in:
parent
84a9284a3f
commit
0aed0fd167
8 changed files with 44 additions and 19 deletions
|
@ -723,7 +723,8 @@ HRESULT STDMETHODCALLTYPE CMenuBand::GetShellFolder(DWORD *pdwFlags, LPITEMIDLIS
|
|||
|
||||
HRESULT STDMETHODCALLTYPE CMenuBand::OnWinEvent(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *theResult)
|
||||
{
|
||||
*theResult = 0;
|
||||
if (theResult)
|
||||
*theResult = 0;
|
||||
|
||||
if (uMsg == WM_WININICHANGE && wParam == SPI_SETFLATMENU)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue