|
ReactOS 0.4.17-dev-482-g1b46029
|
#include <windef.h>#include <shlobj.h>#include <shlwapi.h>#include <shlguid_undoc.h>#include <shlobj_undoc.h>#include <shlwapi_undoc.h>#include <strsafe.h>#include <pathcch.h>#include <assert.h>#include "evalcmd.h"#include <wine/debug.h>
Go to the source code of this file.
Macros | |
| #define | PATH_VALID_CHARS |
Functions | |
| WINE_DEFAULT_DEBUG_CHANNEL (evalcmd) | |
| static PCWSTR | _PathGetArgsLikeCreateProcess (PCWSTR lpString) |
| EXTERN_C HRESULT | _PathCopyExeAndTrimWhiteSpaces (PWSTR pszBuff, size_t cchBuff, PCWSTR pszSrc, size_t cchSrc) |
| static BOOL | _PathMatchesSuspicious (PCWSTR lpString) |
| "Program Files" contains space. It needs special handling. This function will detect it. | |
| static PCWSTR | _PathGuessNextBestArgs (PCWSTR pszPath) |
| static VOID | _MakeAppPathKey (PCWSTR pszPath, PWSTR pszDest, UINT cchDest) |
| static BOOL | _GetAppPath (PCWSTR pszPath, PWSTR pszValue, DWORD cchValue) |
| static HRESULT | _PathExeExists (_In_ PCWSTR pszPath) |
| EXTERN_C HRESULT | _PathFindInFolder (_In_ INT csidl, _In_ PCWSTR pszSrc, _Out_ PWSTR pszPath, _In_ UINT cchPath) |
| EXTERN_C HRESULT | _PathFindInSystem (_Inout_ PWSTR pszPath, _In_ UINT cchPath) |
| EXTERN_C HRESULT WINAPI | SHEvaluateSystemCommandTemplate (_In_ PCWSTR pszCmdTemplate, _Outptr_ PWSTR *ppszApplication, _Outptr_opt_ PWSTR *ppszCommandLine, _Outptr_opt_ PWSTR *ppszParameters) |
| #define PATH_VALID_CHARS |
Definition at line 22 of file evalcmd.cpp.
Definition at line 123 of file evalcmd.cpp.
Referenced by SHEvaluateSystemCommandTemplate().
Definition at line 114 of file evalcmd.cpp.
Referenced by _GetAppPath().
| EXTERN_C HRESULT _PathCopyExeAndTrimWhiteSpaces | ( | PWSTR | pszBuff, |
| size_t | cchBuff, | ||
| PCWSTR | pszSrc, | ||
| size_t | cchSrc | ||
| ) |
Definition at line 53 of file evalcmd.cpp.
Referenced by _ExeFromCmd(), and SHEvaluateSystemCommandTemplate().
Definition at line 132 of file evalcmd.cpp.
Referenced by _PathFindInFolder(), and SHEvaluateSystemCommandTemplate().
| EXTERN_C HRESULT _PathFindInFolder | ( | _In_ INT | csidl, |
| _In_ PCWSTR | pszSrc, | ||
| _Out_ PWSTR | pszPath, | ||
| _In_ UINT | cchPath | ||
| ) |
Definition at line 148 of file evalcmd.cpp.
Referenced by _PathFindInSystem().
Definition at line 162 of file evalcmd.cpp.
Referenced by _ExeFromCmd(), and SHEvaluateSystemCommandTemplate().
Get the position of the arguments of a command line string as CreateProcess does.
Definition at line 29 of file evalcmd.cpp.
Referenced by SHEvaluateSystemCommandTemplate().
Definition at line 73 of file evalcmd.cpp.
Referenced by SHEvaluateSystemCommandTemplate().
"Program Files" contains space. It needs special handling. This function will detect it.
Definition at line 64 of file evalcmd.cpp.
Referenced by SHEvaluateSystemCommandTemplate().
| EXTERN_C HRESULT WINAPI SHEvaluateSystemCommandTemplate | ( | _In_ PCWSTR | pszCmdTemplate, |
| _Outptr_ PWSTR * | ppszApplication, | ||
| _Outptr_opt_ PWSTR * | ppszCommandLine, | ||
| _Outptr_opt_ PWSTR * | ppszParameters | ||
| ) |
Definition at line 182 of file evalcmd.cpp.
Referenced by _ExeFromCmd().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | evalcmd | ) |