reactos/dll/win32/shell32/dialogs
Jose Carlos Jesus 685728bc24
[SHELL32] Prevent a second call to Drive Properties dialog (#4888)
CDefaultContextMenu::DoProperties provides a fallback call
to the property sheet testing the return value of the _DoCallback method,
which is ultimately the return value of SH_ShowDriveProperties().

SH_ShowDriveProperties() sometimes returns an HRESULT, however it is marked
as returning a BOOL. Then, DrivesContextMenuCallback() always handles this
result as an HRESULT.

Fix SH_ShowDriveProperties() to always return a BOOL as it is intended,
and in DrivesContextMenuCallback() handle the result accordingly.

CORE-18537
2022-11-20 21:10:11 +03:00
..
dialogs.cpp
drive.cpp [SHELL32] Prevent a second call to Drive Properties dialog (#4888) 2022-11-20 21:10:11 +03:00
drvdefext.cpp
drvdefext.h
filedefext.cpp
filedefext.h
filetypes.cpp
folder_options.cpp [REACTOS] Add '\n' to debug logs 2022-05-04 03:28:38 +03:00
folder_options.h
fprop.cpp [SHELL32] Show file / drive properties at the position where the mouse was. 2022-10-14 21:02:33 +02:00
general.cpp
recycler_prop.cpp
view.cpp