reactos/dll/win32/shell32
Whindmar Saksit d41dec2e07
[SHELL32][CONTROL] Added basic IOpenControlPanel support (#6248)
Add a basic IOpenControlPanel implementation that supports Vista canonical registry names.

Implements `control.exe /name company.name [/page id]` and `IOpenControlPanel`
handling of Vista-style canonical registry names.

The documented `Microsoft.*` names don't work because they are simply not
in our registry but "[Executable Control Panel Items](https://learn.microsoft.com/en-us/windows/win32/shell/how-to-register-an-executable-control-panel-item-registration-)" registered by 3rd-party ISVs
will function correctly in control.exe and the COM API.

Notes:

- `IOpenControlPanel` is implemented in CControlPanelFolder.cpp because
  it is supposed to have tighter integration with that shell folder than
  it does in this PR.

- `IOpenControlPanel` is also supposed to handle .cpl files with canonical
  names registered under [`Extended Properties`](https://learn.microsoft.com/en-us/windows/win32/shell/how-to-register-dll-control-panel-item-registration-#step-3) but the control panel folder
  does not implement `IShellFolder2::GetDetailsEx` yet, so it will have to wait.

- These "Executable Control Panel Items" are also supposed to be displayed
  in the control panel itself but this PR does not address that. The
  `ITEMIDLIST` format for those needs investigation...

- The Wow64 handling is perhaps not correct but it does not matter,
  `ShellExecuteEx` gets to deal with whatever is in the `...\shell\open\command` key.
  `CControlPanelFolder` would have to take more care when it starts
  reading those keys so it knows when to append "(32-bit)" to the display name.

- `%s%s` because .cpl canonical names don't have the `::` prefix according
  to Geoff Chappell.

- Always returns `CPVIEW_CLASSIC` because our `CControlPanelFolder` does
  not support the category view.
2024-01-17 17:07:21 +01:00
..
dialogs [SHELL32] Fix exception on modifying deleted file type (#5996) 2023-11-20 09:27:06 +09:00
droptargets
folders [SHELL32][CONTROL] Added basic IOpenControlPanel support (#6248) 2024-01-17 17:07:21 +01:00
lang [TRANSLATION] Improve Portuguese (pt-PT) translation (#6171) 2024-01-17 16:07:21 +01:00
res [SHELL32][CONTROL] Added basic IOpenControlPanel support (#6248) 2024-01-17 17:07:21 +01:00
shelldesktop
shellmenu
shellrecyclebin
wine [SHELL32][SDK][SHELL32_APITEST] Add PathIsTemporaryA/W (#6067) 2023-12-02 23:07:28 +09:00
avi_res.rc
bitmap_res.rc
CActiveDesktop.cpp
CActiveDesktop.h
CCopyMoveToMenu.cpp [SHELL32] Commonize CCopyToMenu and CMoveToMenu (#5873) 2023-11-04 21:56:15 +09:00
CCopyMoveToMenu.h [SHELL32] Commonize CCopyToMenu and CMoveToMenu (#5873) 2023-11-04 21:56:15 +09:00
CDefaultContextMenu.cpp [SHELL32] AddStaticContextMenusToMenu(): Fix 3 MSVC 'warning C4805' (#6177) 2023-12-17 22:20:06 +01:00
CDefView.cpp [SHELL32] Fix status bar part sizes (#6243) 2023-12-29 13:34:23 +09:00
CDefViewBckgrndMenu.cpp
CDefViewDual.cpp
CDropTargetHelper.cpp
CDropTargetHelper.h
CEnumIDListBase.cpp [SHELL32][SHELLEXT] IEnumIDList::Next must handle pceltFetched and memory errors correctly (#5820) 2023-11-13 16:31:37 +01:00
CEnumIDListBase.h
CExtractIcon.cpp
CFileSysBindData.cpp
CFolder.cpp
CFolder.h
CFolderItems.cpp
CFolderItems.h
CFolderItemVerbs.cpp
CFolderItemVerbs.h
CFolderOptions.cpp
CFolderOptions.h
changenotify.cpp
CIDLDataObj.cpp
CMakeLists.txt [SHELL32] Commonize CCopyToMenu and CMoveToMenu (#5873) 2023-11-04 21:56:15 +09:00
CNewMenu.cpp
CNewMenu.h
COpenWithMenu.cpp [SHELL32] Don't display missing applications in "Open with..." (#5587) 2023-11-15 11:20:04 +01:00
COpenWithMenu.h
CQueryAssociations.cpp
CQueryAssociations.h
CSendToMenu.cpp
CSendToMenu.h
CShellDispatch.cpp [SHELL32] ShellDispatch::ShellExecute must default to displaying the window (#6143) 2023-12-17 15:48:24 +03:00
CShellDispatch.h
CShellItem.cpp
CShellItem.h
CShellLink.cpp
CShellLink.h
CUserNotification.cpp
CUserNotification.h
debughlp.cpp
debughlp.h
folders.cpp
icon_res.rc
iconcache.cpp
precomp.h [SHELL32] Commonize CCopyToMenu and CMoveToMenu (#5873) 2023-11-04 21:56:15 +09:00
rgs_res.rc
shell32.cpp [SHELL32][CONTROL] Added basic IOpenControlPanel support (#6248) 2024-01-17 17:07:21 +01:00
shell32.rc
shell32.spec [SHELL32][SDK] Implement CopyStreamUI (#5848) 2023-10-31 22:32:02 +09:00
shell32_shldisp.idl
shell32_version.h
shell32_version.rc
shfldr.h
shldataobject.cpp
shlexec.cpp
shlfileop.cpp [SHELL32] Improve error message on copying files (#6290) 2024-01-12 16:01:21 +09:00
shlfolder.cpp
shobjidl_local.idl
shresdef.h
stubs.cpp [SHELL32][SHELL32_APITEST][SDK] Implement PathIsEqualOrSubFolder (#5714) 2023-11-29 22:50:01 +09:00
systray.cpp
utils.cpp [SHELL32][SHELL32_APITEST][SDK] Implement PathIsEqualOrSubFolder (#5714) 2023-11-29 22:50:01 +09:00
vista.c