ReactOS 0.4.16-dev-1305-ge26ad0d
|
#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 |
Macros | |
#define | PATH_VALID_ELEMENT |
#define | COPY_STREAM_DEFAULT_BUFFER_SIZE 0x4000 |
#define | COMPUTER_DESCRIPTIONS_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComputerDescriptions" |
#define COMPUTER_DESCRIPTIONS_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ComputerDescriptions" |
#define COPY_STREAM_DEFAULT_BUFFER_SIZE 0x4000 |
#define PATH_VALID_ELEMENT |
EXTERN_C BOOL WINAPI Activate_RunDLL | ( | _In_ HWND | hwnd, |
_In_ HINSTANCE | hinst, | ||
_In_ LPCWSTR | cmdline, | ||
_In_ INT | cmdshow | ||
) |
Definition at line 1477 of file utils.cpp.
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.
Referenced by SHParseDisplayName().
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.
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 1359 of file utils.cpp.
EXTERN_C HRESULT WINAPI DisplayNameOfW | ( | _In_ IShellFolder * | psf, |
_In_ LPCITEMIDLIST | pidl, | ||
_In_ DWORD | dwFlags, | ||
_Out_ LPWSTR | pszBuf, | ||
_In_ UINT | cchBuf | ||
) |
Definition at line 432 of file utils.cpp.
Referenced by CFSDropTarget::_DoDrop(), CDefView::OnNotify(), and SHGetNameAndFlagsW().
|
static |
Definition at line 1527 of file utils.cpp.
Referenced by PathIsEqualOrSubFolder().
|
static |
Definition at line 1544 of file utils.cpp.
Referenced by DynamicSHGetSpecialFolderPathW().
|
static |
Definition at line 1576 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 675 of file utils.cpp.
Definition at line 1795 of file utils.cpp.
Referenced by SHELL_GetCommandStringImpl().
|
static |
Definition at line 1745 of file utils.cpp.
Referenced by GetDfmCmd().
UINT GetDfmCmd | ( | _In_ IContextMenu * | pCM, |
_In_ LPCSTR | verba | ||
) |
Definition at line 1759 of file utils.cpp.
Referenced by BrFolder_OnContextMenu().
|
static |
Definition at line 1242 of file utils.cpp.
Referenced by Int64ToString().
|
static |
Definition at line 1197 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 1302 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 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 1731 of file utils.cpp.
Referenced by CDefaultContextMenu::InvokeRegVerb().
Definition at line 842 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 1677 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 1340 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 1612 of file utils.cpp.
Referenced by PathIsTemporaryW(), and START_TEST().
Definition at line 661 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 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().
Definition at line 903 of file utils.cpp.
|
static |
Definition at line 1991 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
|
static |
Definition at line 1954 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
Definition at line 1829 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 406 of file utils.cpp.
Referenced by CFileDefExt::InitMultifilePageThread().
Definition at line 320 of file utils.cpp.
Referenced by CDesktopFolder::ParseDisplayName(), and CDesktopFolder::ShellUrlParseDisplayName().
|
static |
Definition at line 1941 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 1806 of file utils.cpp.
Referenced by CCopyAsPathMenu::GetCommandString(), COpenWithMenu::GetCommandString(), CRecycleBinItemContextMenu::GetCommandString(), and CRecycleBin::GetCommandString().
|
static |
Definition at line 1968 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
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().
Definition at line 1772 of file utils.cpp.
Referenced by CCopyAsPathMenu::InvokeCommand(), COpenWithMenu::InvokeCommand(), CRecycleBinItemContextMenu::InvokeCommand(), and CRecycleBin::InvokeCommand().
|
static |
Definition at line 910 of file utils.cpp.
Referenced by SHGetUnreadMailCountW().
Definition at line 1926 of file utils.cpp.
Referenced by SHELL_BuildDisplayMachineName(), SHELL_CacheComputerDescription(), SHELL_GetCachedComputerDescription(), and SHGetComputerDisplayNameW().
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().
EXTERN_C HRESULT WINAPI SHEnumerateUnreadMailAccountsW | ( | _In_opt_ HKEY | hKeyUser, |
_In_ DWORD | dwIndex, | ||
_Out_writes_(cchMailAddress) PWSTR | pszMailAddress, | ||
_In_ INT | cchMailAddress | ||
) |
Definition at line 1137 of file utils.cpp.
Referenced by START_TEST().
EXTERN_C BOOL WINAPI SHFindComputer | ( | LPCITEMIDLIST | pidlRoot, |
LPCITEMIDLIST | pidlSavedSearch | ||
) |
Definition at line 1171 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 448 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 2011 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 503 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 1643 of file utils.cpp.
Referenced by CDefView::OnChangeNotify().
Definition at line 861 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 954 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 1870 of file utils.cpp.
Referenced by START_TEST().
Definition at line 716 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 743 of file utils.cpp.
Definition at line 1846 of file utils.cpp.
Referenced by START_TEST().
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().
Definition at line 707 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 696 of file utils.cpp.
EXTERN_C HRESULT WINAPI SHSetFolderPathA | ( | _In_ INT | csidl, |
_In_ HANDLE | hToken, | ||
_In_ DWORD | dwFlags, | ||
_In_ LPCSTR | pszPath | ||
) |
Definition at line 643 of file utils.cpp.
EXTERN_C HRESULT WINAPI SHSetUnreadMailCountW | ( | _In_ PCWSTR | pszMailAddress, |
_In_ DWORD | dwCount, | ||
_In_ PCWSTR | pszShellExecuteCommand | ||
) |
Definition at line 1032 of file utils.cpp.
Referenced by START_TEST().
Definition at line 216 of file utils.cpp.
Referenced by START_TEST().
Definition at line 291 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 1503 of file utils.cpp.
Referenced by SHStartNetConnectionDialog().
Definition at line 786 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 | ) |