|
ReactOS 0.4.16-dev-2208-g6350669
|
#include "precomp.h"#include <lmcons.h>#include <lmapibuf.h>#include <lmaccess.h>#include <lmserver.h>#include <secext.h>
Go to the source code of this file.
Classes | |
| class | CDummyOleWindow |
| struct | tagALIAS_MAPPING |
Macros | |
| #define | PATH_VALID_ELEMENT |
| #define | COPY_STREAM_DEFAULT_BUFFER_SIZE 0x4000 |
| #define | COMPUTER_DESCRIPTIONS_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComputerDescriptions" |
Typedefs | |
| typedef struct tagALIAS_MAPPING | ALIAS_MAPPING |
| typedef struct tagALIAS_MAPPING * | PALIAS_MAPPING |
Variables | |
| static const ALIAS_MAPPING | g_AliasTable [] |
| PIDL alias table. | |
| #define COMPUTER_DESCRIPTIONS_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComputerDescriptions" |
| #define COPY_STREAM_DEFAULT_BUFFER_SIZE 0x4000 |
| #define PATH_VALID_ELEMENT |
| typedef struct tagALIAS_MAPPING ALIAS_MAPPING |
| typedef struct tagALIAS_MAPPING * PALIAS_MAPPING |
| EXTERN_C BOOL WINAPI Activate_RunDLL | ( | _In_ HWND | hwnd, |
| _In_ HINSTANCE | hinst, | ||
| _In_ LPCWSTR | cmdline, | ||
| _In_ INT | cmdshow | ||
| ) |
Definition at line 1467 of file utils.cpp.
Definition at line 260 of file utils.cpp.
Referenced by CDesktopFolder::_ParseDisplayNameByParent(), CDesktopFolder::ParseDisplayName(), and CDesktopFolder::ShellUrlParseDisplayName().
Definition at line 268 of file utils.cpp.
Referenced by CDrivesFolder::ParseDisplayName(), CFSFolder::ParseDisplayName(), and CRegFolder::ParseDisplayName().
Definition at line 527 of file utils.cpp.
Referenced by SHParseDisplayName().
| EXTERN_C HRESULT BindCtx_RegisterObjectParam | ( | _In_ IBindCtx * | pBindCtx, |
| _In_ LPOLESTR | pszKey, | ||
| _In_opt_ IUnknown * | punk, | ||
| _Out_ LPBC * | ppbc | ||
| ) |
Definition at line 587 of file utils.cpp.
Referenced by SHParseDisplayName().
| EXTERN_C HRESULT WINAPI CopyStreamUI | ( | _In_ IStream * | pSrc, |
| _Out_ IStream * | pDst, | ||
| _Inout_opt_ IProgressDialog * | pProgress, | ||
| _In_opt_ DWORDLONG | dwlSize | ||
| ) |
Definition at line 1349 of file utils.cpp.
Definition at line 1825 of file utils.cpp.
Referenced by DCIA_AddShellExSubkey().
Definition at line 1838 of file utils.cpp.
Referenced by CFSDropTarget::_GetEffectFromMenu().
| EXTERN_C HRESULT WINAPI DisplayNameOfW | ( | _In_ IShellFolder * | psf, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_ DWORD | dwFlags, | ||
| _Out_ LPWSTR | pszBuf, | ||
| _In_ UINT | cchBuf | ||
| ) |
Definition at line 422 of file utils.cpp.
Referenced by SHGetNameAndFlagsW().
|
static |
Definition at line 1517 of file utils.cpp.
Referenced by PathIsEqualOrSubFolder().
|
static |
Definition at line 1534 of file utils.cpp.
Referenced by DynamicSHGetSpecialFolderPathW().
|
static |
Definition at line 1566 of file utils.cpp.
Referenced by PathIsEqualOrSubFolder().
| EXTERN_C WORD WINAPI ExtractIconResInfoA | ( | _In_ HANDLE | hHandle, |
| _In_ LPCSTR | lpFileName, | ||
| _In_ WORD | wIndex, | ||
| _Out_ LPWORD | lpSize, | ||
| _Out_ LPHANDLE | lpIcon | ||
| ) |
Definition at line 665 of file utils.cpp.
Definition at line 1781 of file utils.cpp.
Referenced by SHELL_GetCommandStringImpl().
|
static |
Definition at line 1731 of file utils.cpp.
Referenced by GetDfmCmd().
| UINT GetDfmCmd | ( | _In_ IContextMenu * | pCM, |
| _In_ LPCSTR | verba | ||
| ) |
Definition at line 1745 of file utils.cpp.
Referenced by BrFolder_OnContextMenu().
|
static |
Definition at line 1232 of file utils.cpp.
Referenced by Int64ToString().
|
static |
Definition at line 1187 of file utils.cpp.
Referenced by Int64ToString().
| EXTERN_C INT WINAPI Int64ToString | ( | _In_ LONGLONG | llValue, |
| _Out_writes_(cchOut) LPWSTR | pszOut, | ||
| _In_ UINT | cchOut, | ||
| _In_ BOOL | bUseFormat, | ||
| _In_opt_ const NUMBERFMTW * | pNumberFormat, | ||
| _In_ DWORD | dwNumberFlags | ||
| ) |
Definition at line 1292 of file utils.cpp.
Referenced by DoTestEntry(), LargeIntegerToString(), and Test_Int64ToString().
| 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 1680 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 1717 of file utils.cpp.
Referenced by CDefaultContextMenu::InvokeRegVerb().
Definition at line 832 of file utils.cpp.
Referenced by IsSuspendAllowed().
| EXTERN_C HRESULT IUnknown_InitializeCommand | ( | _In_ IUnknown * | pUnk, |
| _In_ PCWSTR | pszCommandName, | ||
| _In_opt_ IPropertyBag * | pPB | ||
| ) |
Definition at line 1667 of file utils.cpp.
Referenced by InvokeIExecuteCommand(), and CDefaultContextMenu::InvokeRegVerb().
| EXTERN_C INT WINAPI LargeIntegerToString | ( | _In_ const LARGE_INTEGER * | pLargeInt, |
| _Out_writes_(cchOut) LPWSTR | pszOut, | ||
| _In_ UINT | cchOut, | ||
| _In_ BOOL | bUseFormat, | ||
| _In_opt_ const NUMBERFMTW * | pNumberFormat, | ||
| _In_ DWORD | dwNumberFlags | ||
| ) |
Definition at line 1330 of file utils.cpp.
Referenced by DoTestEntry(), and Test_LargeIntegerToString().
Definition at line 239 of file utils.cpp.
Referenced by SHOpenEffectiveToken().
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 1602 of file utils.cpp.
Referenced by PathIsTemporaryW(), and START_TEST().
Definition at line 651 of file utils.cpp.
Definition at line 158 of file utils.cpp.
Referenced by Shell_NextElement().
| EXTERN_C HRESULT SHBindToObject | ( | _In_opt_ IShellFolder * | psf, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_ REFIID | riid, | ||
| _Out_ void ** | ppvObj | ||
| ) |
Definition at line 360 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 327 of file utils.cpp.
Referenced by SHBindToObject().
Definition at line 484 of file utils.cpp.
Referenced by ShellExecuteExW(), and SHGetNameAndFlagsW().
Definition at line 893 of file utils.cpp.
| EXTERN_C HRESULT SHELL32_AliasTranslatePidl | ( | _In_ LPCITEMIDLIST | pidl, |
| _Out_ LPITEMIDLIST * | ppidlNew, | ||
| _In_ DWORD | dwFlags | ||
| ) |
Translate a PIDL to an "alias" PIDL.
Definition at line 2185 of file utils.cpp.
Referenced by CreateNotificationParamAndSend(), CDesktopFolder::ParseDisplayName(), and SHLogILFromFSIL().
| EXTERN_C BOOL SHELL32_ReparentAsAliasPidl | ( | _In_opt_ HWND | hwnd, |
| _In_opt_ HANDLE | hToken, | ||
| _In_ LPCITEMIDLIST | pidlTarget, | ||
| _Out_ LPITEMIDLIST * | ppidlNew, | ||
| _In_ DWORD | dwFlags | ||
| ) |
Translate a PIDL to an "alias" PIDL.
Definition at line 2124 of file utils.cpp.
Referenced by SHELL32_AliasTranslatePidl().
|
static |
Definition at line 2006 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
|
static |
Definition at line 1969 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
Definition at line 1815 of file utils.cpp.
Referenced by SHELL_CreateFallbackExtractIconForFolder(), and SHELL_CreateFallbackExtractIconForNoAssocFile().
| HRESULT SHELL_DisplayNameOf | ( | _In_opt_ IShellFolder * | psf, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_opt_ UINT | Flags, | ||
| _Out_ PWSTR * | ppStr | ||
| ) |
Definition at line 396 of file utils.cpp.
Referenced by CFileDefExt::InitMultifilePageThread().
Definition at line 310 of file utils.cpp.
Referenced by CDesktopFolder::ParseDisplayName(), and CDesktopFolder::ShellUrlParseDisplayName().
|
static |
Definition at line 1956 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
| HRESULT SHELL_GetCommandStringImpl | ( | SIZE_T | CmdId, |
| UINT | uFlags, | ||
| LPSTR | Buf, | ||
| UINT | cchBuf, | ||
| const CMVERBMAP * | pMap | ||
| ) |
Definition at line 1792 of file utils.cpp.
Referenced by CCopyAsPathMenu::GetCommandString(), COpenWithMenu::GetCommandString(), CRecycleBinItemContextMenu::GetCommandString(), and CRecycleBin::GetCommandString().
|
static |
Definition at line 1983 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
| HRESULT SHELL_GetIDListTarget | ( | _In_ LPCITEMIDLIST | pidl, |
| _Out_ PIDLIST_ABSOLUTE * | ppidl | ||
| ) |
Definition at line 472 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 370 of file utils.cpp.
Referenced by CShellLink::DragEnter(), CSendToMenu::GetUIObjectFromPidl(), CFolderItemVerbs::Init(), SHELL_PidlGetIconLocationW(), and shellex_get_dataobj().
Definition at line 1758 of file utils.cpp.
Referenced by CCopyAsPathMenu::InvokeCommand(), COpenWithMenu::InvokeCommand(), CRecycleBinItemContextMenu::InvokeCommand(), and CRecycleBin::InvokeCommand().
|
static |
Definition at line 900 of file utils.cpp.
Referenced by SHGetUnreadMailCountW().
Definition at line 1941 of file utils.cpp.
Referenced by SHELL_BuildDisplayMachineName(), SHELL_CacheComputerDescription(), SHELL_GetCachedComputerDescription(), and SHGetComputerDisplayNameW().
| EXTERN_C HRESULT WINAPI SHEnumerateUnreadMailAccountsW | ( | _In_opt_ HKEY | hKeyUser, |
| _In_ DWORD | dwIndex, | ||
| _Out_writes_(cchMailAddress) PWSTR | pszMailAddress, | ||
| _In_ INT | cchMailAddress | ||
| ) |
Definition at line 1127 of file utils.cpp.
Referenced by START_TEST().
| EXTERN_C BOOL WINAPI SHFindComputer | ( | LPCITEMIDLIST | pidlRoot, |
| LPCITEMIDLIST | pidlSavedSearch | ||
| ) |
Definition at line 1161 of file utils.cpp.
Referenced by CTrayWindow::HandleCommand(), CTrayWindow::HandleHotKey(), and StartMenuHandler::ShowSearchComputer().
| DWORD SHGetAttributes | ( | _In_ IShellFolder * | psf, |
| _In_ LPCITEMIDLIST | pidl, | ||
| _In_ DWORD | dwAttributes | ||
| ) |
Definition at line 438 of file utils.cpp.
Referenced by CFSDropTarget::_DoDrop(), BrFolder_InsertItem(), CRegItemContextMenu_CreateInstance(), CDefView::OnCreate(), and SHGetNameAndFlagsW().
| EXTERN_C HRESULT WINAPI SHGetComputerDisplayNameW | ( | _In_opt_ PWSTR | pszServerName, |
| _In_ DWORD | dwFlags, | ||
| _Out_writes_z_(cchNameMax) PWSTR | pszName, | ||
| _In_ DWORD | cchNameMax | ||
| ) |
Definition at line 2026 of file utils.cpp.
| HRESULT SHGetNameAndFlagsW | ( | _In_ LPCITEMIDLIST | pidl, |
| _In_ DWORD | dwFlags, | ||
| _Out_opt_ LPWSTR | pszText, | ||
| _In_ UINT | cchBuf, | ||
| _Inout_opt_ DWORD * | pdwAttributes | ||
| ) |
Definition at line 493 of file utils.cpp.
Referenced by CDrvDefExt::AddMainPage(), DoGetFileTitle(), CShellLink::OnInitDialog(), SHELL_execute(), SHELL_GetCaptionFromDataObject(), and CDesktopFolder::ShellUrlParseDisplayName().
| EXTERN_C HRESULT WINAPI SHGetPathCchFromIDListW | ( | LPCITEMIDLIST | pidl, |
| LPWSTR | pszPath, | ||
| SIZE_T | cchPathMax | ||
| ) |
Referenced by DynamicSHGetPathFromIDListW().
| EXTERN_C HRESULT WINAPI SHGetRealIDL | ( | _In_ IShellFolder * | psf, |
| _In_ PCUITEMID_CHILD | pidlSimple, | ||
| _Outptr_ PITEMID_CHILD * | ppidlReal | ||
| ) |
Definition at line 1633 of file utils.cpp.
Referenced by CDefView::OnChangeNotify().
Definition at line 851 of file utils.cpp.
| EXTERN_C HRESULT WINAPI SHGetUnreadMailCountW | ( | _In_opt_ HKEY | hKeyUser, |
| _In_opt_ PCWSTR | pszMailAddress, | ||
| _Out_opt_ PDWORD | pdwCount, | ||
| _Inout_opt_ PFILETIME | pFileTime, | ||
| _Out_writes_opt_(cchShellExecuteCommand) PWSTR | pszShellExecuteCommand, | ||
| _In_ INT | cchShellExecuteCommand | ||
| ) |
Definition at line 944 of file utils.cpp.
Referenced by START_TEST().
| EXTERN_C HRESULT WINAPI SHGetUserDisplayName | ( | _Out_writes_to_ *, *puSize PWSTR | pName, |
| _Inout_ PULONG | puSize | ||
| ) |
Definition at line 1885 of file utils.cpp.
Referenced by START_TEST().
Definition at line 706 of file utils.cpp.
| 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 SHILClone | ( | _In_opt_ LPCITEMIDLIST | pidl, |
| _Outptr_ LPITEMIDLIST * | ppidl | ||
| ) |
Definition at line 133 of file utils.cpp.
Referenced by BrFolder_Treeview_Rename(), CShellBrowser::BrowseToPath(), CFindFolder::GetCurFolder(), CCabFolder::GetCurFolder(), CRecycleBin::GetCurFolder(), CShellBrowser::GetPidl(), CFindFolder::Initialize(), CCopyMoveToMenu::Initialize(), CEnumIDList::Next(), CShellBrowser::OpenNewBrowserWindow(), CFSFolder::SetNameOf(), CRegFolder::SetNameOf(), and SHGetRealIDL().
| EXTERN_C HRESULT WINAPI SHInvokePrivilegedFunctionW | ( | _In_ LPCWSTR | pszName, |
| _In_ PRIVILEGED_FUNCTION | fn, | ||
| _In_opt_ LPARAM | lParam | ||
| ) |
Definition at line 733 of file utils.cpp.
Definition at line 1861 of file utils.cpp.
Referenced by START_TEST().
| HRESULT SHIsFileSysBindCtx | ( | _In_ IBindCtx * | pBindCtx, |
| _Out_opt_ WIN32_FIND_DATAW * | pFindData | ||
| ) |
Definition at line 293 of file utils.cpp.
Referenced by CDesktopFolder::ParseDisplayName(), CDrivesFolder::ParseDisplayName(), and CFSFolder::ParseDisplayName().
Definition at line 697 of file utils.cpp.
Referenced by SHGetUserSessionId(), SHInvokePrivilegedFunctionW(), and SHTestTokenPrivilegeW().
| EXTERN_C LPWSTR WINAPI ShortSizeFormatW | ( | _In_ DWORD | dwNumber, |
| _Out_writes_(0x8FFF) LPWSTR | pszBuffer | ||
| ) |
Definition at line 686 of file utils.cpp.
| EXTERN_C HRESULT WINAPI SHSetFolderPathA | ( | _In_ INT | csidl, |
| _In_ HANDLE | hToken, | ||
| _In_ DWORD | dwFlags, | ||
| _In_ LPCSTR | pszPath | ||
| ) |
Definition at line 633 of file utils.cpp.
| EXTERN_C HRESULT WINAPI SHSetUnreadMailCountW | ( | _In_ PCWSTR | pszMailAddress, |
| _In_ DWORD | dwCount, | ||
| _In_ PCWSTR | pszShellExecuteCommand | ||
| ) |
Definition at line 1022 of file utils.cpp.
Referenced by START_TEST().
Definition at line 216 of file utils.cpp.
Referenced by START_TEST().
Definition at line 281 of file utils.cpp.
Referenced by CDesktopFolder::_ParseDisplayNameByParent().
| EXTERN_C HRESULT WINAPI SHStartNetConnectionDialogA | ( | _In_ HWND | hwnd, |
| _In_ LPCSTR | pszRemoteName, | ||
| _In_ DWORD | dwType | ||
| ) |
Definition at line 1493 of file utils.cpp.
Referenced by SHStartNetConnectionDialog().
Definition at line 776 of file utils.cpp.
Referenced by IsShutdownAllowed().
Definition at line 40 of file utils.cpp.
Referenced by TEST_StrRStrA().
| EXTERN_C PWSTR WINAPI StrRStrW | ( | _In_ PCWSTR | pszSrc, |
| _In_opt_ PCWSTR | pszLast, | ||
| _In_ PCWSTR | pszSearch | ||
| ) |
Definition at line 72 of file utils.cpp.
Referenced by TEST_StrRStrW().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | shell | ) |
|
static |
PIDL alias table.
Definition at line 2094 of file utils.cpp.
Referenced by SHELL32_ReparentAsAliasPidl().