|
ReactOS 0.4.16-dev-1948-gd260c1d
|
#include <stdarg.h>#include <assert.h>#include <windef.h>#include <winbase.h>#include <winreg.h>#include <winuser.h>#include <wincon.h>#include <commdlg.h>#include <ddeml.h>#include <userenv.h>#include <shlwapi.h>#include <wininet.h>#include <shlobj.h>#include <shobjidl.h>#include <emptyvc.h>#include <ndk/rtlfuncs.h>#include <fmifs/fmifs.h>#include <tchar.h>#include <strsafe.h>#include <atlbase.h>#include <atlcom.h>#include <atlwin.h>#include <atlstr.h>#include <atlsimpcoll.h>#include <atlcoll.h>#include <powrprof.h>#include <winnetwk.h>#include <objsafe.h>#include <regstr.h>#include <comctl32_undoc.h>#include <shlguid_undoc.h>#include <shlobj_undoc.h>#include <shlwapi_undoc.h>#include <ishellfolder_helpers.h>#include <shellapi.h>#include <undocshell.h>#include <browseui_undoc.h>#include <shellutils.h>#include "shellrecyclebin/recyclebin.h"#include "wine/pidl.h"#include "debughlp.h"#include "wine/shell32_main.h"#include "shresdef.h"#include "wine/cpanel.h"#include "CActiveDesktop.h"#include "CEnumIDListBase.h"#include "shfldr.h"#include "CShellItem.h"#include "CShellLink.h"#include "CFolderItemVerbs.h"#include "CFolderItems.h"#include "CFolder.h"#include "CShellDispatch.h"#include "CDropTargetHelper.h"#include "CFolderOptions.h"#include "folders/CFSFolder.h"#include "folders/CDrivesFolder.h"#include "folders/CDesktopFolder.h"#include "folders/CControlPanelFolder.h"#include "folders/CMyDocsFolder.h"#include "folders/CNetFolder.h"#include "folders/CFontsFolder.h"#include "folders/CPrinterFolder.h"#include "folders/CAdminToolsFolder.h"#include "folders/CRecycleBin.h"#include "droptargets/CexeDropHandler.h"#include "droptargets/CFSDropTarget.h"#include "COpenWithMenu.h"#include "CNewMenu.h"#include "CSendToMenu.h"#include "CCopyMoveToMenu.h"#include "CCopyAsPathMenu.h"#include "dialogs/filedefext.h"#include "dialogs/drvdefext.h"#include "CQueryAssociations.h"#include "shellmenu/CMenuBand.h"#include "shellmenu/CMenuDeskBar.h"#include "shellmenu/CMenuSite.h"#include "shellmenu/CMergedFolder.h"#include "shellmenu/shellmenu.h"#include "CUserNotification.h"#include "dialogs/folder_options.h"#include "shelldesktop/CChangeNotifyServer.h"#include "utils.h"#include <wine/debug.h>#include <wine/unicode.h>
Go to the source code of this file.
Classes | |
| struct | _DCMENTRY |
| class | CStubWindow32 |
Macros | |
| #define | COBJMACROS |
| #define | WIN32_NO_STATUS |
| #define | _INC_WINDOWS |
| #define | COM_NO_WINDOWS_H |
| #define | NTOS_MODE_USER |
| #define | ShellMessageBoxW ShellMessageBoxWrapW |
| #define | VERBKEY_CCHMAX 64 |
| #define | MAX_PROPERTY_SHEET_PAGE 32 |
| #define | DCMA_Create() ( (HDCMA)DSA_Create(sizeof(DCMENTRY), 4) ) |
| #define | DCMA_GetEntry(hDCMA, iItem) ( (DCMENTRY*)DSA_GetItemPtr((HDSA)(hDCMA), (iItem)) ) |
| #define | SHELL_ExecuteControlPanelCPL(hwnd, cpl) SHRunControlPanel((cpl), (hwnd)) |
| #define | CSTUBWINDOW32_CLASSNAME _T("StubWindow32") |
Typedefs | |
| typedef HDSA | HDCMA |
| typedef struct _DCMENTRY | DCMENTRY |
| typedef enum _FILEOPCALLBACKEVENT | FILEOPCALLBACKEVENT |
| typedef HRESULT(CALLBACK * | FILEOPCALLBACK) (FILEOPCALLBACKEVENT Event, LPCWSTR Source, LPCWSTR Destination, UINT Attributes, HRESULT hr, void *CallerData) |
| #define DCMA_Create | ( | ) | ( (HDCMA)DSA_Create(sizeof(DCMENTRY), 4) ) |
| #define DCMA_GetEntry | ( | hDCMA, | |
| iItem | |||
| ) | ( (DCMENTRY*)DSA_GetItemPtr((HDSA)(hDCMA), (iItem)) ) |
| #define SHELL_ExecuteControlPanelCPL | ( | hwnd, | |
| cpl | |||
| ) | SHRunControlPanel((cpl), (hwnd)) |
| #define ShellMessageBoxW ShellMessageBoxWrapW |
| typedef HRESULT(CALLBACK * FILEOPCALLBACK) (FILEOPCALLBACKEVENT Event, LPCWSTR Source, LPCWSTR Destination, UINT Attributes, HRESULT hr, void *CallerData) |
Definition at line 346 of file precomp.h.
|
inlinestatic |
Definition at line 151 of file precomp.h.
Referenced by CDrvDefExt::AddMainPage(), CShellLink::AddPages(), CFileDefExt::AddPages(), CFolderOptions::AddPages(), and RecycleBin_AddPropSheetPages().
|
inline |
Definition at line 137 of file precomp.h.
Referenced by AddPropSheetHandlerPages().
Definition at line 270 of file utils.cpp.
Referenced by CDesktopFolder::_ParseDisplayNameByParent(), CDesktopFolder::ParseDisplayName(), and CDesktopFolder::ShellUrlParseDisplayName().
Definition at line 278 of file utils.cpp.
Referenced by CDrivesFolder::ParseDisplayName(), CFSFolder::ParseDisplayName(), and CRegFolder::ParseDisplayName().
Definition at line 537 of file utils.cpp.
| EXTERN_C HRESULT BindCtx_RegisterObjectParam | ( | _In_ IBindCtx * | pBindCtx, |
| _In_ LPOLESTR | pszKey, | ||
| _In_opt_ IUnknown * | punk, | ||
| _Out_ LPBC * | ppbc | ||
| ) |
Definition at line 597 of file utils.cpp.
| HRESULT DataObject_GetHIDACount | ( | IDataObject * | pdo | ) |
Definition at line 101 of file shldataobject.cpp.
Referenced by CFileDefExt::Initialize(), SHELL32_ShowFilesystemItemsPropertiesDialogAsync(), SHELL_GetCaptionFromDataObject(), and SHMultiFileProperties().
Definition at line 44 of file CDefaultContextMenu.cpp.
Referenced by CFSDropTarget::_GetEffectFromMenu().
| UINT DCMA_InsertMenuItems | ( | _In_ HDCMA | hDCMA, |
| _In_ HDCIA | hDCIA, | ||
| _In_opt_ LPCITEMIDLIST | pidlFolder, | ||
| _In_opt_ IDataObject * | pDO, | ||
| _In_opt_ HKEY * | pKeys, | ||
| _In_opt_ UINT | nKeys, | ||
| _In_ QCMINFO * | pQCMI, | ||
| _In_opt_ UINT | fCmf, | ||
| _In_opt_ IUnknown * | pUnkSite | ||
| ) |
Definition at line 52 of file CDefaultContextMenu.cpp.
Referenced by CFSDropTarget::_GetEffectFromMenu().
Definition at line 114 of file CDefaultContextMenu.cpp.
Referenced by CFSDropTarget::_GetEffectFromMenu().
| UINT GetDfmCmd | ( | _In_ IContextMenu * | pCM, |
| _In_ LPCSTR | verba | ||
| ) |
Definition at line 1755 of file utils.cpp.
Referenced by BrFolder_OnContextMenu().
| EXTERN_C HRESULT InvokeIExecuteCommand | ( | _In_ IExecuteCommand * | pEC, |
| _In_ PCWSTR | pszCommandName, | ||
| _In_opt_ IPropertyBag * | pPB, | ||
| _In_opt_ IShellItemArray * | pSIA, | ||
| _In_opt_ LPCMINVOKECOMMANDINFOEX | pICI, | ||
| _In_opt_ IUnknown * | pSite | ||
| ) |
Definition at line 1690 of file utils.cpp.
Referenced by InvokeIExecuteCommandWithDataObject().
| EXTERN_C HRESULT InvokeIExecuteCommandWithDataObject | ( | _In_ IExecuteCommand * | pEC, |
| _In_ PCWSTR | pszCommandName, | ||
| _In_opt_ IPropertyBag * | pPB, | ||
| _In_ IDataObject * | pDO, | ||
| _In_opt_ LPCMINVOKECOMMANDINFOEX | pICI, | ||
| _In_opt_ IUnknown * | pSite | ||
| ) |
Definition at line 1727 of file utils.cpp.
Referenced by CDefaultContextMenu::InvokeRegVerb().
| EXTERN_C HRESULT IUnknown_InitializeCommand | ( | _In_ IUnknown * | pUnk, |
| _In_ PCWSTR | pszCommandName, | ||
| _In_opt_ IPropertyBag * | pPB | ||
| ) |
Definition at line 1677 of file utils.cpp.
Referenced by InvokeIExecuteCommand(), and CDefaultContextMenu::InvokeRegVerb().
Definition at line 183 of file CDefaultContextMenu.cpp.
Referenced by CDefView::InvokeContextMenuCommand().
Definition at line 193 of file CDefaultContextMenu.cpp.
Referenced by GetDfmCmd().
Definition at line 172 of file utils.cpp.
Referenced by CFSFolder::_CreateIDListFromName().
Definition at line 146 of file utils.cpp.
Referenced by PathIsValidElement(), and CFileDefExt::WalkDirTree().
Definition at line 158 of file utils.cpp.
Referenced by Shell_NextElement().
Definition at line 178 of file view.cpp.
Referenced by GeneralDlg_OnApply(), and ViewDlg_Apply().
|
static |
| EXTERN_C HRESULT SHBindToObject | ( | _In_opt_ IShellFolder * | psf, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_ REFIID | riid, | ||
| _Out_ void ** | ppvObj | ||
| ) |
Definition at line 370 of file utils.cpp.
Referenced by _BindToObject(), CDesktopFolder::_ParseDisplayNameByParent(), BrFolder_InitTreeView(), CRegItemContextMenu_CreateInstance(), FileOpCallback(), SHELL_GetIDListTarget(), Shell_ParsePrinterName(), and CDesktopFolder::ShellUrlParseDisplayName().
| HRESULT SHBindToObjectEx | ( | _In_opt_ IShellFolder * | pShellFolder, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_opt_ IBindCtx * | pBindCtx, | ||
| _In_ REFIID | riid, | ||
| _Out_ void ** | ppvObj | ||
| ) |
Definition at line 337 of file utils.cpp.
Referenced by SHBindToObject().
Definition at line 494 of file utils.cpp.
Referenced by ShellExecuteExW(), and SHGetNameAndFlagsW().
| HRESULT SHELL32_DefaultContextMenuCallBack | ( | IShellFolder * | psf, |
| IDataObject * | pdo, | ||
| UINT | msg | ||
| ) |
Definition at line 624 of file shlfolder.cpp.
Referenced by CDesktopFolder::CallBack(), CDrivesFolder::CallBack(), CFSFolder::CallBack(), CNetFolderBackgroundMenuCB(), DrivesContextMenuCallback(), NetFolderMenuCallback(), and RegFolderContextMenuCallback().
| int SHELL32_FileOperation | ( | LPSHFILEOPSTRUCTW | lpFileOp, |
| FILEOPCALLBACK | Callback, | ||
| void * | CallerData | ||
| ) |
Definition at line 2093 of file shlfileop.cpp.
Referenced by CRecycleBinItemContextMenu::InvokeCommand(), and SHFileOperationW().
Definition at line 51 of file COpenWithMenu.cpp.
Referenced by COpenWithList::GetPathFromCmd(), and CFileDefExt::InitOpensWithField().
| HRESULT SHELL32_ShowFilesystemItemPropertiesDialogAsync | ( | IDataObject * | pDO | ) |
Definition at line 157 of file item_prop.cpp.
Referenced by DrivesContextMenuCallback(), SHELL32_ShowFilesystemItemsPropertiesDialogAsync(), and SHMultiFileProperties().
| HRESULT SHELL32_ShowFilesystemItemsPropertiesDialogAsync | ( | HWND | hOwner, |
| IDataObject * | pDO | ||
| ) |
Definition at line 183 of file item_prop.cpp.
Referenced by SHELL32_ShowPropertiesDialog().
| HRESULT SHELL32_ShowPropertiesDialog | ( | IDataObject * | pdtobj | ) |
Definition at line 616 of file shlfolder.cpp.
Referenced by CDesktopFolder::CallBack(), and CDefaultContextMenu::DoProperties().
| HRESULT SHELL32_ShowShellExtensionProperties | ( | const CLSID * | pClsid, |
| IDataObject * | pDO | ||
| ) |
Definition at line 191 of file item_prop.cpp.
Referenced by RegFolderContextMenuCallback().
Definition at line 110 of file shldataobject.cpp.
Referenced by DoGetFileTitle(), CCopyMoveToMenu::DoRealFileOp(), and SHELL_DataObject_ILCloneFullItem().
| HRESULT SHELL_CloneDataObject | ( | _In_ IDataObject * | pDO, |
| _Out_ IDataObject ** | ppDO | ||
| ) |
Definition at line 125 of file shldataobject.cpp.
Referenced by ShellPropSheetDialog::ShowPropertiesThread().
| PIDLIST_ABSOLUTE SHELL_DataObject_ILCloneFullItem | ( | _In_ IDataObject * | pDO, |
| _In_ UINT | Index | ||
| ) |
Definition at line 117 of file shldataobject.cpp.
Referenced by CDesktopFolder::CallBack(), CCopyMoveToMenu::Initialize(), SHELL32_PropertySheet(), and SHELL_GetCaptionFromDataObject().
| HRESULT SHELL_DisplayNameOf | ( | _In_opt_ IShellFolder * | psf, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_opt_ UINT | Flags, | ||
| _Out_ PWSTR * | ppStr | ||
| ) |
Definition at line 406 of file utils.cpp.
Referenced by CFileDefExt::InitMultifilePageThread().
Definition at line 320 of file utils.cpp.
Referenced by CDesktopFolder::ParseDisplayName(), and CDesktopFolder::ShellUrlParseDisplayName().
| HRESULT SHELL_GetIDListTarget | ( | _In_ LPCITEMIDLIST | pidl, |
| _Out_ PIDLIST_ABSOLUTE * | ppidl | ||
| ) |
Definition at line 482 of file utils.cpp.
Referenced by SHBrowseForFolderW().
| EXTERN_C HRESULT SHELL_GetUIObjectOfAbsoluteItem | ( | _In_opt_ HWND | hWnd, |
| _In_ PCIDLIST_ABSOLUTE | pidl, | ||
| _In_ REFIID | riid, | ||
| _Out_ void ** | ppvObj | ||
| ) |
Definition at line 380 of file utils.cpp.
Referenced by CShellLink::DragEnter(), CSendToMenu::GetUIObjectFromPidl(), CFolderItemVerbs::Init(), SHELL_PidlGetIconLocationW(), and shellex_get_dataobj().
| EXTERN_C INT Shell_ParseSpecialFolder | ( | _In_ LPCWSTR | pszStart, |
| _Out_ LPWSTR * | ppch, | ||
| _Out_ INT * | pcch | ||
| ) |
Definition at line 1986 of file shellpath.c.
Referenced by CDesktopFolder::ShellUrlParseDisplayName().
| HRESULT SHELL_ShowItemIDListProperties | ( | LPCITEMIDLIST | pidl | ) |
Definition at line 199 of file item_prop.cpp.
Referenced by CFSFolder::CallBack(), and CRecycleBin::InvokeCommand().
| HRESULT SHELL_SingleFileOperation | ( | HWND | hWnd, |
| UINT | Op, | ||
| PCWSTR | Src, | ||
| PCWSTR | Dest, | ||
| UINT | Flags, | ||
| PWSTR * | ppNewName | ||
| ) |
Definition at line 2446 of file shlfileop.cpp.
Referenced by CFSFolder::SetNameOf().
| HRESULT Shell_TranslateIDListAlias | ( | _In_ LPCITEMIDLIST | pidl, |
| _In_ HANDLE | hToken, | ||
| _Out_ LPITEMIDLIST * | ppidlAlias, | ||
| _In_ DWORD | dwFlags | ||
| ) |
Definition at line 261 of file utils.cpp.
Referenced by CDesktopFolder::ParseDisplayName().
| DWORD SHGetAttributes | ( | _In_ IShellFolder * | psf, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_ DWORD | dwAttributes | ||
| ) |
Definition at line 448 of file utils.cpp.
Referenced by CFSDropTarget::_DoDrop(), BrFolder_InsertItem(), CRegItemContextMenu_CreateInstance(), CDefView::OnCreate(), and SHGetNameAndFlagsW().
| HRESULT SHGetNameAndFlagsW | ( | _In_ LPCITEMIDLIST | pidl, |
| _In_ DWORD | dwFlags, | ||
| _Out_opt_ LPWSTR | pszText, | ||
| _In_ UINT | cchBuf, | ||
| _Inout_opt_ DWORD * | pdwAttributes | ||
| ) |
Definition at line 503 of file utils.cpp.
Referenced by CDrvDefExt::AddMainPage(), DoGetFileTitle(), CShellLink::OnInitDialog(), SHELL_execute(), SHELL_GetCaptionFromDataObject(), and CDesktopFolder::ShellUrlParseDisplayName().
| HRESULT SHILAppend | ( | _Inout_ LPITEMIDLIST | pidl, |
| _Inout_ LPITEMIDLIST * | ppidl | ||
| ) |
Definition at line 193 of file utils.cpp.
Referenced by CFSFolder::_ParseSimple(), BrFolder_Treeview_Rename(), and CFSFolder::ParseDisplayName().
| HRESULT SHIsFileSysBindCtx | ( | _In_ IBindCtx * | pBindCtx, |
| _Out_opt_ WIN32_FIND_DATAW * | pFindData | ||
| ) |
Definition at line 303 of file utils.cpp.
Referenced by CDesktopFolder::ParseDisplayName(), CDrivesFolder::ParseDisplayName(), and CFSFolder::ParseDisplayName().
| EXTERN_C HRESULT WINAPI SHMultiFileProperties | ( | IDataObject * | pDataObject, |
| DWORD | dwFlags | ||
| ) |
Definition at line 223 of file item_prop.cpp.
Referenced by SHELL32_ShowFilesystemItemsPropertiesDialogAsync().
Definition at line 291 of file utils.cpp.
Referenced by CDesktopFolder::_ParseDisplayNameByParent().
Referenced by _ILCreateAdminTools(), CAdminToolsFolder::GetClassID(), HCR_GetClassNameA(), and HCR_GetClassNameW().
Referenced by CFontsFolder::GetClassID().
Referenced by test_FolderShortcut().
Referenced by CShellLink::SetAdvertiseInfo().
Referenced by CShellLink::SetAdvertiseInfo().