Go to the source code of this file.
◆ PathGetAppFromCommandLine()
◆ PathIsExeW()
Definition at line 539 of file shellpath.c.
540{
543 static const WCHAR lpszExtensions[][4] =
544 {
L"exe",
L"com",
L"pif",
L"cmd",
L"bat",
L"scf",
L"scr",
L"" };
545
547
548 for(
i=0; lpszExtensions[
i][0];
i++)
549 if (!
wcsicmp(lpszExtension,lpszExtensions[
i]))
return TRUE;
550
552}
static LPWSTR PathGetExtensionW(LPCWSTR lpszPath)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by COpenWithDialog::Init(), CFileDefExt::InitGeneralPage(), and COpenWithMenu::Initialize().
◆ SH32_EvaluateValidExecApp()
Definition at line 84 of file COpenWithMenu.cpp.
85{
86
89
94 ppszDirs = pszDirsArr;
98}
#define PRF_TRYPROGRAMEXTENSIONS
#define GetCurrentDirectoryW(x, y)
BOOL WINAPI PathResolveW(_Inout_ LPWSTR path, _Inout_opt_ LPCWSTR *dirs, _In_ DWORD flags)
Referenced by SH32_InvokeOpenWith().
◆ SH32_InvokeOpenWith()
Definition at line 100 of file COpenWithMenu.cpp.
101{
102 if (!pszPath || !pici)
104
109 sei.
nShow = pici->nShow;
110 if (phProcess)
111 {
114 }
115
117 {
118
125 {
128 }
129 else
130 {
132 }
134 }
135 else if (!(pici->fMask & CMIC_MASK_FLAG_NO_UI))
136 {
138 }
139
140 if (phProcess)
143}
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
#define ERROR_INVALID_PARAMETER
HRESULT WINAPI AssocQueryStringByKeyW(ASSOCF cfFlags, ASSOCSTR str, HKEY hkAssoc, LPCWSTR pszExtra, LPWSTR pszOut, DWORD *pcchOut)
static DWORD DWORD void LPSTR DWORD cch
#define SEE_MASK_CLASSKEY
#define SEE_MASK_NOCLOSEPROCESS
#define SEE_MASK_NOZONECHECKS
BOOL WINAPI DECLSPEC_HOTPATCH ShellExecuteExW(LPSHELLEXECUTEINFOW sei)
@ OAIF_ALLOW_REGISTRATION
@ ASSOCF_INIT_IGNOREUNKNOWN
DWORD WINAPI GetLastError(void)
#define ERROR_NO_ASSOCIATION
#define HKEY_CLASSES_ROOT
Referenced by COpenWithMenu::InvokeCommand(), and InvokeOpenWith().
◆ SHELL32_GetDllFromRundll32CommandLine()
Definition at line 51 of file COpenWithMenu.cpp.
52{
56
60
61 PCWSTR pszDllStart = pszCmd + (pszName - szDll) +
lstrlenW(pszName);
62
63 if (*pszDllStart == '\"')
64 ++pszDllStart;
65 while (*pszDllStart <= ' ' && *pszDllStart)
66 ++pszDllStart;
68 {
69 BOOL quoted = *pszDllStart ==
'\"';
71 while (!quoted && pszComma > szDll && *pszComma != ',' && *pszComma != '\\' && *pszComma != '/')
72 --pszComma;
74 if (
cch <=
cchMax && (quoted || *pszComma ==
','))
75 {
79 }
80 }
82}
WCHAR *WINAPI PathFindFileNameW(const WCHAR *path)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define ERROR_BUFFER_OVERFLOW
#define HRESULT_FROM_WIN32(x)
Referenced by COpenWithList::GetPathFromCmd(), and CFileDefExt::InitOpensWithField().
◆ SHOpenWithDialog()
Definition at line 1572 of file COpenWithMenu.cpp.
1573{
1575
1576 TRACE(
"SHOpenWithDialog hwndParent %p poainfo %p\n",
hwndParent, poainfo);
1577
1579
1582
1584
1587
1590
1592 {
1595 }
1596
1598}
#define shell32_hInstance
static INT_PTR CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
VOID WINAPI InitCommonControls(void)
#define MAKEINTRESOURCE(i)
INT_PTR WINAPI DialogBoxParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
Referenced by FolderOptionsFileTypesDlg(), CFileDefExt::GeneralPageProc(), OpenAs_RunDLLW(), and SH32_InvokeOpenWith().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
shell |
| ) |
|
◆ g_VerbMap