projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[BROWSEUI][SHELL32] Treat OnWinEvent's result parameter as optional. CORE-14443
[reactos.git]
/
dll
/
win32
/
shell32
/
shellmenu
/
CMenuBand.cpp
diff --git
a/dll/win32/shell32/shellmenu/CMenuBand.cpp
b/dll/win32/shell32/shellmenu/CMenuBand.cpp
index
e09bc00
..
49cb279
100644
(file)
--- a/
dll/win32/shell32/shellmenu/CMenuBand.cpp
+++ b/
dll/win32/shell32/shellmenu/CMenuBand.cpp
@@
-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)
{