mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 12:33:38 +00:00
[FORMATTING]
* No code changes. svn path=/branches/shell32_new-bringup/; revision=53546
This commit is contained in:
parent
8af812d602
commit
26f6b8c7f7
4 changed files with 580 additions and 586 deletions
|
@ -1955,12 +1955,8 @@ HRESULT WINAPI ShellLink::GetCommandString(UINT_PTR idCmd, UINT uType, UINT* pwR
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
INT_PTR CALLBACK ExtendedShortcutProc(
|
||||
HWND hwndDlg,
|
||||
UINT uMsg,
|
||||
WPARAM wParam,
|
||||
LPARAM lParam
|
||||
)
|
||||
INT_PTR CALLBACK ExtendedShortcutProc(HWND hwndDlg, UINT uMsg,
|
||||
WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
HWND hDlgCtrl;
|
||||
|
||||
|
@ -1992,7 +1988,6 @@ INT_PTR CALLBACK ExtendedShortcutProc(
|
|||
SendMessage(hDlgCtrl, BM_SETCHECK, BST_UNCHECKED, 0);
|
||||
else
|
||||
SendMessage(hDlgCtrl, BM_SETCHECK, BST_CHECKED, 0);
|
||||
|
||||
}
|
||||
}
|
||||
return FALSE;
|
||||
|
|
|
@ -167,17 +167,17 @@ static void ParseTildeEffect(PWSTR &res, LPCWSTR &args, DWORD &len, DWORD &used,
|
|||
* %S ???
|
||||
* %* all following parameters (see batfile)
|
||||
*
|
||||
* The way we parse the command line arguments was determined through extensive
|
||||
* testing and can be summed up by the following rules"
|
||||
*
|
||||
* - %2
|
||||
* - if first letter is " break on first non literal " and include any white spaces
|
||||
* - if first letter is NOT " break on first " or white space
|
||||
* - if " is opened any pair of consecutive " results in ONE literal "
|
||||
*
|
||||
* - %~2
|
||||
* - use rules from here http://www.autohotkey.net/~deleyd/parameters/parameters.htm
|
||||
*/
|
||||
* The way we parse the command line arguments was determined through extensive
|
||||
* testing and can be summed up by the following rules"
|
||||
*
|
||||
* - %2
|
||||
* - if first letter is " break on first non literal " and include any white spaces
|
||||
* - if first letter is NOT " break on first " or white space
|
||||
* - if " is opened any pair of consecutive " results in ONE literal "
|
||||
*
|
||||
* - %~2
|
||||
* - use rules from here http://www.autohotkey.net/~deleyd/parameters/parameters.htm
|
||||
*/
|
||||
|
||||
static BOOL SHELL_ArgifyW(WCHAR* out, DWORD len, const WCHAR* fmt, const WCHAR* lpFile, LPITEMIDLIST pidl, LPCWSTR args, DWORD* out_len)
|
||||
{
|
||||
|
@ -664,7 +664,7 @@ static UINT SHELL_FindExecutableByOperation(LPCWSTR lpOperation, LPWSTR key, LPW
|
|||
* on the operation)
|
||||
*/
|
||||
static UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpOperation,
|
||||
LPWSTR lpResult, DWORD resultLen, LPWSTR key, WCHAR **env, LPITEMIDLIST pidl, LPCWSTR args)
|
||||
LPWSTR lpResult, DWORD resultLen, LPWSTR key, WCHAR **env,LPITEMIDLIST pidl, LPCWSTR args)
|
||||
{
|
||||
static const WCHAR wWindows[] = {'w','i','n','d','o','w','s',0};
|
||||
static const WCHAR wPrograms[] = {'p','r','o','g','r','a','m','s',0};
|
||||
|
@ -1011,8 +1011,7 @@ static unsigned dde_connect(const WCHAR* key, const WCHAR* start, WCHAR* ddeexec
|
|||
* error DMLERR_NOTPROCESSED on XTYP_EXECUTE request.
|
||||
*/
|
||||
if (unicode)
|
||||
hDdeData = DdeClientTransaction((LPBYTE)res, (strlenW(res) + 1) * sizeof(WCHAR), hConv, 0L, 0,
|
||||
XTYP_EXECUTE, 30000, &tid);
|
||||
hDdeData = DdeClientTransaction((LPBYTE)res, (strlenW(res) + 1) * sizeof(WCHAR), hConv, 0L, 0, XTYP_EXECUTE, 30000, &tid);
|
||||
else
|
||||
{
|
||||
DWORD lenA = WideCharToMultiByte(CP_ACP, 0, res, -1, NULL, 0, NULL, NULL);
|
||||
|
@ -1039,8 +1038,8 @@ static unsigned dde_connect(const WCHAR* key, const WCHAR* start, WCHAR* ddeexec
|
|||
/*************************************************************************
|
||||
* execute_from_key [Internal]
|
||||
*/
|
||||
static UINT_PTR execute_from_key(LPCWSTR key, LPCWSTR lpFile, WCHAR *env, LPCWSTR szCommandline,
|
||||
LPCWSTR executable_name,
|
||||
static UINT_PTR execute_from_key(LPCWSTR key, LPCWSTR lpFile, WCHAR *env,
|
||||
LPCWSTR szCommandline, LPCWSTR executable_name,
|
||||
SHELL_ExecuteW32 execfunc,
|
||||
LPSHELLEXECUTEINFOW psei, LPSHELLEXECUTEINFOW psei_out)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue