|
ReactOS 0.4.17-dev-304-g69474b3
|
#include "precomp.h"#include <winver.h>#include <shellapi.h>#include <shlwapi.h>#include <shlobj_undoc.h>#include <shlguid_undoc.h>#include <userenv.h>#include <atlstr.h>#include <shlwapi_undoc.h>#include <ishellfolder_helpers.h>#include <strsafe.h>
Go to the source code of this file.
Classes | |
| struct | RETRY_DATA |
| struct | tagSHDIALOG |
Macros | |
| #define | _ATL_NO_EXCEPTIONS |
| #define | IShellFolder_GetDisplayNameOf _disabled_IShellFolder_GetDisplayNameOf_ |
| #define | IShellFolder_ParseDisplayName _disabled_IShellFolder_ParseDisplayName_ |
| #define | IShellFolder_CompareIDs _disabled_IShellFolder_CompareIDs_ |
| #define | FAILED_UNEXPECTEDLY FAILED /* FIXME: Make shellutils.h usable without ATL */ |
Typedefs | |
| typedef struct tagSHDIALOG | SHDIALOG |
| typedef struct tagSHDIALOG * | PSHDIALOG |
Variables | |
| static const RETRY_DATA | g_RetryData [] |
| #define FAILED_UNEXPECTEDLY FAILED /* FIXME: Make shellutils.h usable without ATL */ |
| #define IShellFolder_CompareIDs _disabled_IShellFolder_CompareIDs_ |
| #define IShellFolder_GetDisplayNameOf _disabled_IShellFolder_GetDisplayNameOf_ |
| #define IShellFolder_ParseDisplayName _disabled_IShellFolder_ParseDisplayName_ |
| typedef struct tagSHDIALOG * PSHDIALOG |
| typedef struct tagSHDIALOG SHDIALOG |
|
static |
Definition at line 986 of file utils.cpp.
Referenced by PrettifyFileDescriptionW().
Definition at line 274 of file utils.cpp.
Definition at line 245 of file utils.cpp.
Referenced by CharLowerNoDBCSA(), and CharUpperNoDBCSA().
Definition at line 282 of file utils.cpp.
Definition at line 258 of file utils.cpp.
Referenced by CharLowerNoDBCSW(), and CharUpperNoDBCSW().
|
inlinestatic |
Definition at line 40 of file utils.cpp.
Referenced by SHInvokeCommandOnContextMenuInternal().
| EXTERN_C BOOL WINAPI IContextMenu_Invoke | ( | _In_ IContextMenu * | pContextMenu, |
| _In_ HWND | hwnd, | ||
| _In_ LPCSTR | lpVerb, | ||
| _In_ UINT | uFlags | ||
| ) |
Definition at line 556 of file utils.cpp.
| EXTERN_C HRESULT WINAPI IShellFolder_CompareIDs | ( | _In_ IShellFolder * | psf, |
| _In_ LPARAM | lParam, | ||
| _In_ PCUIDLIST_RELATIVE | pidl1, | ||
| _In_ PCUIDLIST_RELATIVE | pidl2 | ||
| ) |
| EXTERN_C HRESULT WINAPI IShellFolder_GetDisplayNameOf | ( | _In_ IShellFolder * | psf, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_ SHGDNF | uFlags, | ||
| _Out_ LPSTRRET | lpName, | ||
| _In_ DWORD | dwRetryFlags | ||
| ) |
Definition at line 719 of file utils.cpp.
| EXTERN_C HRESULT WINAPI IShellFolder_ParseDisplayName | ( | _In_ IShellFolder * | psf, |
| _In_opt_ HWND | hwndOwner, | ||
| _In_opt_ LPBC | pbcReserved, | ||
| _In_ LPOLESTR | lpszDisplayName, | ||
| _Out_opt_ ULONG * | pchEaten, | ||
| _Out_opt_ PIDLIST_RELATIVE * | ppidl, | ||
| _Out_opt_ ULONG * | pdwAttributes | ||
| ) |
Definition at line 767 of file utils.cpp.
| EXTERN_C HRESULT WINAPI IUnknown_ShowBrowserBar | ( | _In_ IUnknown * | punk, |
| _In_ REFGUID | rguid, | ||
| _In_ BOOL | bShow | ||
| ) |
Definition at line 1020 of file utils.cpp.
| EXTERN_C PSTR WINAPI NextPathA | ( | _In_ PCSTR | pszStart, |
| _Out_writes_(cchDest) PSTR | pszDest, | ||
| _In_ UINT | cchDest | ||
| ) |
Definition at line 912 of file utils.cpp.
| EXTERN_C PWSTR WINAPI NextPathW | ( | _In_ PCWSTR | pszStart, |
| _Out_writes_(cchDest) PWSTR | pszDest, | ||
| _In_ UINT | cchDest | ||
| ) |
Definition at line 954 of file utils.cpp.
| BOOL WINAPI PathFileExistsDefExtAndAttributesW | ( | _Inout_ LPWSTR | pszPath, |
| _In_ DWORD | dwWhich, | ||
| _Out_opt_ LPDWORD | pdwFileAttributes | ||
| ) |
Definition at line 660 of file utils.cpp.
Referenced by START_TEST().
| EXTERN_C BOOL WINAPI PathUnExpandEnvStringsForUserA | ( | _In_ HANDLE | hUserToken, |
| _In_ PCSTR | pszPath, | ||
| _Out_writes_(cchBuff) PSTR | pszBuff, | ||
| _In_ INT | cchBuff | ||
| ) |
Definition at line 137 of file utils.cpp.
| EXTERN_C BOOL WINAPI PathUnExpandEnvStringsForUserW | ( | _In_ HANDLE | hUserToken, |
| _In_ PCWSTR | pwszPath, | ||
| _Out_writes_(cchBuff) PWSTR | pszBuff, | ||
| _In_ INT | cchBuff | ||
| ) |
Definition at line 183 of file utils.cpp.
Definition at line 1043 of file utils.cpp.
Referenced by SHGetFileDescriptionW().
| EXTERN_C LSTATUS WINAPI RegGetValueW | ( | HKEY | hKey, |
| LPCWSTR | pszSubKey, | ||
| LPCWSTR | pszValue, | ||
| DWORD | dwFlags, | ||
| LPDWORD | pdwType, | ||
| PVOID | pvData, | ||
| LPDWORD | pcbData | ||
| ) |
Definition at line 1931 of file reg.c.
Referenced by CPolicyCache::_GetValue(), AddFSClassKeysToArray(), CRegFolderEnum::AddItemsFromKey(), CDefaultContextMenu::AddStaticEntriesForKey(), AssocGetPerceivedType(), CFSExtractIcon_CreateInstance(), check_product_patches(), ComponentInfo_GetGUIDValue(), ComponentInfo_GetUINTValue(), create_monodata(), DoGetProductType(), CDefaultContextMenu::EnumerateDynamicContextHandlerForKey(), CDrvDefExt::ExtraPageProc(), FILEDLG95_MRU_get_slot(), FILEDLG95_MRU_save_filename(), FindExeCplClass(), CDrvDefExt::GeneralPageProc(), get_mono_path_registry(), get_patch_state(), get_stringvalue(), GetCLSIDForFileTypeFromExtension(), CNetConnectionPropertyUi::GetDeviceInstanceID(), GetInterfaceName(), GetRegCustomizedDriveIcon(), GetRegString(), CQueryAssociations::GetString(), HCR_GetClassNameW(), InitFunctionPtrs(), InitializeRecycleBinDlg(), InitIconOverlays(), CFileDefExt::InitOpensWithField(), COpenWithList::IsHidden(), keyboard_layout_has_altgr(), COpenWithList::Load(), load_config_driver(), load_settings(), COpenWithList::LoadFromProgIdKey(), CNewMenu::LoadItem(), LoadKeyboardLayoutW(), COpenWithList::LoadRecommendedFromHKCR(), COpenWithList::LoadRecommendedFromHKCU(), MMDevice_GetPropValue(), OpenKeyFromFileType(), PixelFormatInfo_GetChannelMask(), read_bitmap_patterns(), read_metadata_patterns(), RegQueryDword(), RunRegCommand(), COpenWithList::SetDefaultHandler(), SetupDiBuildDriverInfoList(), SHELL32_AssocGetExtensionDescription(), SHELL_GetRegCLSID(), SHELL_GetShellExtensionRegCLSID(), SHELL_QueryCLSIDValue(), SHRunIndirectRegClientCommand(), SQLGetPrivateProfileStringW(), test_keyboard_layout_name(), and WshShell3_RegRead().
| EXTERN_C HRESULT WINAPI RunIndirectRegCommand | ( | _In_opt_ HWND | hWnd, |
| _In_ HKEY | hKey, | ||
| _In_opt_ PCWSTR | pszSubKey, | ||
| _In_ PCWSTR | pszVerb | ||
| ) |
Definition at line 610 of file utils.cpp.
Referenced by SHRunIndirectRegClientCommand().
| EXTERN_C HRESULT WINAPI RunRegCommand | ( | _In_opt_ HWND | hWnd, |
| _In_ HKEY | hKey, | ||
| _In_opt_ PCWSTR | pszSubKey | ||
| ) |
Definition at line 596 of file utils.cpp.
Referenced by RunIndirectRegCommand().
| EXTERN_C INT_PTR WINAPI SHDialogBox | ( | _In_opt_ HINSTANCE | hInstance, |
| _In_ PCSTR | lpTemplateName, | ||
| _In_opt_ HWND | hWndParent, | ||
| _In_opt_ SHDIALOGPROC | fn, | ||
| _In_opt_ PVOID | pThis | ||
| ) |
Definition at line 895 of file utils.cpp.
Definition at line 841 of file utils.cpp.
Referenced by SHDialogBox().
|
static |
Definition at line 572 of file utils.cpp.
Referenced by RunRegCommand().
| BOOL WINAPI SHGetFileDescriptionA | ( | _In_ PCSTR | pszPath, |
| _In_opt_ PCSTR | pszVerKey, | ||
| _In_opt_ PCSTR | pszDisplayName, | ||
| _Out_opt_ PSTR | pszOut, | ||
| _Inout_ PUINT | pcchOut | ||
| ) |
Definition at line 1198 of file utils.cpp.
| BOOL WINAPI SHGetFileDescriptionW | ( | _In_ PCWSTR | pszPath, |
| _In_opt_ PCWSTR | pszVerKey, | ||
| _In_opt_ PCWSTR | pszDisplayName, | ||
| _Out_opt_ PWSTR | pszOut, | ||
| _Inout_ PUINT | pcchOut | ||
| ) |
Definition at line 1086 of file utils.cpp.
Referenced by SHGetFileDescriptionA().
| EXTERN_C HRESULT WINAPI SHInvokeCommandOnContextMenu | ( | _In_opt_ HWND | hWnd, |
| _In_opt_ IUnknown * | pUnk, | ||
| _In_ IContextMenu * | pCM, | ||
| _In_ UINT | fCMIC, | ||
| _In_opt_ LPCSTR | pszVerb | ||
| ) |
Definition at line 409 of file utils.cpp.
Referenced by BrFolder_Delete().
| EXTERN_C HRESULT WINAPI SHInvokeCommandOnContextMenuEx | ( | _In_opt_ HWND | hWnd, |
| _In_opt_ IUnknown * | pUnk, | ||
| _In_ IContextMenu * | pCM, | ||
| _In_ UINT | fCMIC, | ||
| _In_ UINT | fCMF, | ||
| _In_opt_ LPCSTR | pszVerb, | ||
| _In_opt_ LPCWSTR | pwszDir | ||
| ) |
Definition at line 392 of file utils.cpp.
Referenced by SHInvokeCommandOnContextMenu(), and SHInvokeCommandWithFlagsAndSite().
|
static |
Definition at line 304 of file utils.cpp.
Referenced by IContextMenu_Invoke(), and SHInvokeCommandOnContextMenuEx().
| EXTERN_C HRESULT WINAPI SHInvokeCommandsOnContextMenu | ( | _In_opt_ HWND | hwnd, |
| _In_opt_ IUnknown * | punkSite, | ||
| _In_ IContextMenu * | pCM, | ||
| _In_ DWORD | fMask, | ||
| _In_reads_opt_(cVerbs) PCSTR * | pVerbs, | ||
| _In_ UINT | cVerbs | ||
| ) |
Definition at line 435 of file utils.cpp.
| EXTERN_C HRESULT WINAPI SHInvokeCommandWithFlagsAndSite | ( | _In_opt_ HWND | hWnd, |
| _In_opt_ IUnknown * | pUnk, | ||
| _In_ IShellFolder * | pShellFolder, | ||
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_ UINT | fCMIC, | ||
| _In_opt_ LPCSTR | pszVerb | ||
| ) |
Definition at line 525 of file utils.cpp.
| EXTERN_C HRESULT WINAPI SHRunIndirectRegClientCommand | ( | _In_opt_ HWND | hWnd, |
| _In_ PCWSTR | pszClientType | ||
| ) |
Definition at line 625 of file utils.cpp.
Referenced by CTaskSwitchWnd::InvokeRegistryAppKeyCommand().
|
static |
Definition at line 47 of file utils.cpp.
Referenced by PathUnExpandEnvStringsForUserA().
|
static |
Definition at line 89 of file utils.cpp.
Referenced by PathUnExpandEnvStringsForUserW().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | shell | ) |
|
static |
Definition at line 702 of file utils.cpp.
Referenced by IShellFolder_GetDisplayNameOf().