|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "shelltest.h"#include <shlwapi.h>#include <strsafe.h>#include <versionhelpers.h>#include "shell32_apitest_sub.h"#include "closewnd.h"#include <debug.h>#include <stdio.h>
Go to the source code of this file.
Classes | |
| struct | TEST_ENTRY |
Macros | |
| #define | NDEBUG |
| #define | SECL_NO_UI 0x2 |
| #define | SECL_LOG_USAGE 0x8 |
| #define | SECL_USE_IDLIST 0x10 |
| #define | SECL_ALLOW_NONEXE 0x20 |
| #define | SECL_RUNAS 0x40 |
| #define | ShellExecCmdLine proxy_ShellExecCmdLine |
| #define | shell32_hInstance GetModuleHandle(NULL) |
| #define | IDS_FILE_NOT_FOUND (-1) |
Typedefs | |
| typedef HRESULT(WINAPI * | SHELLEXECCMDLINE) (HWND, LPCWSTR, LPCWSTR, INT, LPVOID, DWORD) |
| typedef struct TEST_ENTRY | TEST_ENTRY |
Functions | |
| static __inline void | __SHCloneStrW (WCHAR **target, const WCHAR *source) |
| static LPCWSTR | SplitParams (LPCWSTR psz, LPWSTR pszArg0, size_t cchArg0) |
| HRESULT WINAPI | ShellExecCmdLine (HWND hwnd, LPCWSTR pwszCommand, LPCWSTR pwszStartDir, int nShow, LPVOID pUnused, DWORD dwSeclFlags) |
| static void | DoEntry (const TEST_ENTRY *pEntry) |
| static VOID | TEST_ShellExecCmdLine (VOID) |
| START_TEST (ShellExecCmdLine) | |
Variables | |
| static const WCHAR | wszExe [] = L".exe" |
| static const WCHAR | wszCom [] = L".com" |
| SHELLEXECCMDLINE | g_pShellExecCmdLine = NULL |
| static WCHAR | s_sub_program [MAX_PATH] |
| static WCHAR | s_win_test_exe [MAX_PATH] |
| static WCHAR | s_sys_bat_file [MAX_PATH] |
| static WCHAR | s_cur_dir [MAX_PATH] |
| static const TEST_ENTRY | s_entries_1 [] |
| static const TEST_ENTRY | s_entries_2 [] |
| static WINDOW_LIST | s_List1 |
| static WINDOW_LIST | s_List2 |
| #define IDS_FILE_NOT_FOUND (-1) |
Definition at line 29 of file ShellExecCmdLine.cpp.
| #define NDEBUG |
Definition at line 14 of file ShellExecCmdLine.cpp.
| #define SECL_ALLOW_NONEXE 0x20 |
Definition at line 22 of file ShellExecCmdLine.cpp.
| #define SECL_LOG_USAGE 0x8 |
Definition at line 20 of file ShellExecCmdLine.cpp.
| #define SECL_NO_UI 0x2 |
Definition at line 19 of file ShellExecCmdLine.cpp.
| #define SECL_RUNAS 0x40 |
Definition at line 23 of file ShellExecCmdLine.cpp.
| #define SECL_USE_IDLIST 0x10 |
Definition at line 21 of file ShellExecCmdLine.cpp.
| HINSTANCE shell32_hInstance GetModuleHandle(NULL) |
Definition at line 28 of file ShellExecCmdLine.cpp.
Referenced by CFSDropTarget::_GetEffectFromMenu(), CFSDropTarget::_GetUniqueFileName(), _InsertMenuItemW(), _SetOperationTitle(), _SHGetDefaultValue(), AboutDlgProc(), ActionDlg_OnBrowse(), COpenWithMenu::AddChooseProgramItem(), CDefaultContextMenu::AddStaticContextMenusToMenu(), BrFolder_NewFolder(), COpenWithDialog::Browse(), CDefView::CDefView(), ConfirmDialog(), Control_CreateListView(), Control_DoInterface(), Control_WndProc(), Control_WndProc_Create(), CNewMenu::CreateNewFolder(), CShellLink::CreateShortcutIcon(), CreateToolTipForButtons(), do_error_dialog(), CDefaultContextMenu::DoCreateNewFolder(), DrivesContextMenuCallback(), EditTypeDlg_OnCommand(), CDrvDefExt::ExtraPageProc(), FancyLogoffOnInit(), FileTypesDlg_Initialize(), FileTypesDlg_InitListView(), CDefView::FillEditMenu(), CDefView::FillViewMenu(), FolderOptionsFileTypesDlg(), FormatDriveDlg(), FormatExCB(), GeneralDlg_UpdateIcons(), CControlPanelFolder::GetDetailsOf(), CDrivesFolder::GetDisplayNameOf(), GetDriveNameWithLetter(), GetExtensionDefaultDescription(), GetFileTypeIconsEx(), GetFriendlyVerb(), HCR_GetClassNameA(), HCR_GetClassNameW(), COpenWithDialog::Init(), CDrvDefExt::InitGeneralPage(), CFileDefExt::InitGeneralPage(), CDesktopBrowser::Initialize(), CNewMenu::Initialize(), InitializeDefaultIcons(), InitializeFormatDriveDlg(), InitializeRecycleBinDlg(), CFileDefExt::InitMultifilePage(), CFileDefExt::InitMultifilePageThread(), CFileDefExt::InitOpensWithField(), InsertDefaultClusterSizeForFs(), CNewMenu::InsertShellNewItems(), COpenWithDialog::IsNoOpen(), LogoffWindowsDialog(), CShellLink::OnCommand(), CDefView::OnCreate(), CShellLink::OnInitDialog(), PickIconDlg(), PickIconProc(), Printer_LoadIconsW(), PromptAndRunProcessAs(), PropSheetProc(), CDefViewBckgrndMenu::QueryContextMenu(), CNewMenu::QueryContextMenu(), COpenWithMenu::QueryContextMenu(), RunDlgProc(), RunFileDlg(), SH_CreatePropertySheetPageEx(), SH_FormatByteSize(), SHBrowseForFolderW(), SHCreateDirectoryExW(), SHELL32_AssocGetFSDirectoryDescription(), SHELL32_OpenPropSheet(), SHELL32_PropertySheet(), SHELL_ConfirmDialogW(), SHELL_ConfirmIDs(), SHELL_ConfirmMsgBox(), ShellAboutW(), ShellExecCmdLine(), SHEmptyRecycleBinW(), SHFormatDrive(), SHOpenWithDialog(), ShowFolderOptionsDialogThreadProc(), SHWinHelp(), SIC_Initialize(), CFileDefExt::UpdateDirStatsResults(), CFileDefExt::UpdateFolderIcon(), CDefView::UpdateStatusbar(), and CDefView::UpdateStatusbarLocation().
| #define ShellExecCmdLine proxy_ShellExecCmdLine |
Definition at line 26 of file ShellExecCmdLine.cpp.
Definition at line 242 of file ShellExecCmdLine.cpp.
| typedef struct TEST_ENTRY TEST_ENTRY |
Definition at line 34 of file ShellExecCmdLine.cpp.
Referenced by ShellExecCmdLine().
|
static |
Definition at line 552 of file ShellExecCmdLine.cpp.
Referenced by TEST_ShellExecCmdLine().
| HRESULT WINAPI ShellExecCmdLine | ( | HWND | hwnd, |
| LPCWSTR | pwszCommand, | ||
| LPCWSTR | pwszStartDir, | ||
| int | nShow, | ||
| LPVOID | pUnused, | ||
| DWORD | dwSeclFlags | ||
| ) |
Definition at line 88 of file ShellExecCmdLine.cpp.
Definition at line 42 of file ShellExecCmdLine.cpp.
Referenced by ShellExecCmdLine().
| START_TEST | ( | ShellExecCmdLine | ) |
Definition at line 618 of file ShellExecCmdLine.cpp.
Definition at line 593 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
| SHELLEXECCMDLINE g_pShellExecCmdLine = NULL |
Definition at line 243 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 257 of file ShellExecCmdLine.cpp.
Referenced by START_TEST(), and TEST_ShellExecCmdLine().
|
static |
Definition at line 259 of file ShellExecCmdLine.cpp.
Referenced by TEST_ShellExecCmdLine().
|
static |
Definition at line 498 of file ShellExecCmdLine.cpp.
Referenced by TEST_ShellExecCmdLine().
|
static |
Definition at line 591 of file ShellExecCmdLine.cpp.
Referenced by TEST_ShellExecCmdLine().
|
static |
Definition at line 591 of file ShellExecCmdLine.cpp.
Referenced by TEST_ShellExecCmdLine().
Definition at line 254 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 256 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 255 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 32 of file ShellExecCmdLine.cpp.
Referenced by ShellExecCmdLine().
Definition at line 31 of file ShellExecCmdLine.cpp.
Referenced by ShellExecCmdLine().