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 [SHELL32] Use the already existing g_pszShell32 instead of re-defining a new variable holding the very same string. 2022-01-09 22:44:21 +01:00
drive.cpp [SHELL32] Prevent a second call to Drive Properties dialog (#4888) 2022-11-20 21:10:11 +03:00
drvdefext.cpp [SHELL32] List CD-ROM drives in the "Hardware" tab of disk properties 2022-01-17 21:04:04 +03:00
drvdefext.h [SHELL] IShellExtInit::Initialize uses PCIDLIST_ABSOLUTE. CORE-16385 2019-09-29 12:09:02 +02:00
filedefext.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
filedefext.h [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
filetypes.cpp [SHELL32] Remove horizontal scrollbar in File Types property page (#4412) 2022-04-07 16:10:50 +03:00
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 [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
recycler_prop.cpp [SHELL32] Recycle-Bin: Validate the MaxCapacity value with respect to the available disk space. (#1688) 2019-07-07 19:01:09 +02:00
view.cpp [SHELL32] Use wide char string literals. 2022-01-09 22:39:29 +01:00