ReactOS 0.4.16-dev-983-g23ad936
|
#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 1454 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 514 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 574 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 1336 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 409 of file utils.cpp.
Referenced by CFSDropTarget::_DoDrop(), CDefView::OnNotify(), and SHGetNameAndFlagsW().
|
static |
Definition at line 1504 of file utils.cpp.
Referenced by PathIsEqualOrSubFolder().
|
static |
Definition at line 1521 of file utils.cpp.
Referenced by DynamicSHGetSpecialFolderPathW().
|
static |
Definition at line 1553 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 652 of file utils.cpp.
Definition at line 1772 of file utils.cpp.
Referenced by SHELL_GetCommandStringImpl().
|
static |
Definition at line 1722 of file utils.cpp.
Referenced by GetDfmCmd().
UINT GetDfmCmd | ( | _In_ IContextMenu * | pCM, |
_In_ LPCSTR | verba | ||
) |
Definition at line 1736 of file utils.cpp.
Referenced by BrFolder_OnContextMenu().
|
static |
Definition at line 1219 of file utils.cpp.
Referenced by Int64ToString().
|
static |
Definition at line 1174 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 1279 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 1667 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 1708 of file utils.cpp.
Referenced by CDefaultContextMenu::InvokeRegVerb().
Definition at line 819 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 1654 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 1317 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 1589 of file utils.cpp.
Referenced by PathIsTemporaryW(), and START_TEST().
Definition at line 638 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 471 of file utils.cpp.
Referenced by ShellExecuteExW(), and SHGetNameAndFlagsW().
Definition at line 880 of file utils.cpp.
|
static |
Definition at line 1968 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
|
static |
Definition at line 1931 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
Definition at line 1806 of file utils.cpp.
Referenced by SHELL_CreateFallbackExtractIconForFolder(), and SHELL_CreateFallbackExtractIconForNoAssocFile().
Definition at line 320 of file utils.cpp.
Referenced by CDesktopFolder::ParseDisplayName(), and CDesktopFolder::ShellUrlParseDisplayName().
|
static |
Definition at line 1918 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 1783 of file utils.cpp.
Referenced by CCopyAsPathMenu::GetCommandString(), COpenWithMenu::GetCommandString(), CRecycleBinItemContextMenu::GetCommandString(), and CRecycleBin::GetCommandString().
|
static |
Definition at line 1945 of file utils.cpp.
Referenced by SHGetComputerDisplayNameW().
HRESULT SHELL_GetIDListTarget | ( | _In_ LPCITEMIDLIST | pidl, |
_Out_ PIDLIST_ABSOLUTE * | ppidl | ||
) |
Definition at line 459 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 1749 of file utils.cpp.
Referenced by CCopyAsPathMenu::InvokeCommand(), COpenWithMenu::InvokeCommand(), CRecycleBinItemContextMenu::InvokeCommand(), and CRecycleBin::InvokeCommand().
|
static |
Definition at line 887 of file utils.cpp.
Referenced by SHGetUnreadMailCountW().
Definition at line 1903 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 1114 of file utils.cpp.
Referenced by START_TEST().
EXTERN_C BOOL WINAPI SHFindComputer | ( | LPCITEMIDLIST | pidlRoot, |
LPCITEMIDLIST | pidlSavedSearch | ||
) |
Definition at line 1148 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 425 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 1988 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 480 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 1620 of file utils.cpp.
Referenced by CDefView::OnChangeNotify().
Definition at line 838 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 931 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 1847 of file utils.cpp.
Referenced by START_TEST().
Definition at line 693 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 720 of file utils.cpp.
Definition at line 1823 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 684 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 673 of file utils.cpp.
EXTERN_C HRESULT WINAPI SHSetFolderPathA | ( | _In_ INT | csidl, |
_In_ HANDLE | hToken, | ||
_In_ DWORD | dwFlags, | ||
_In_ LPCSTR | pszPath | ||
) |
Definition at line 620 of file utils.cpp.
EXTERN_C HRESULT WINAPI SHSetUnreadMailCountW | ( | _In_ PCWSTR | pszMailAddress, |
_In_ DWORD | dwCount, | ||
_In_ PCWSTR | pszShellExecuteCommand | ||
) |
Definition at line 1009 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 1480 of file utils.cpp.
Referenced by SHStartNetConnectionDialog().
Definition at line 763 of file utils.cpp.
Referenced by IsShutdownAllowed().
Definition at line 17 of file utils.cpp.
Referenced by StrRStrA().
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 | ) |