ReactOS 0.4.16-dev-250-g3ecd236
|
#include "shelltest.h"
#include <shlwapi.h>
#include <strsafe.h>
#include <versionhelpers.h>
#include "shell32_apitest_sub.h"
#include <debug.h>
#include <stdio.h>
Go to the source code of this file.
Classes | |
struct | TEST_ENTRY |
struct | OPENWNDS |
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 |
typedef struct OPENWNDS | OPENWNDS |
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 BOOL CALLBACK | EnumWindowsProc (HWND hwnd, LPARAM lParam) |
static void | CleanupNewlyCreatedWindows (void) |
static void | DoEntry (const TEST_ENTRY *pEntry) |
START_TEST (ShellExecCmdLine) | |
Variables | |
static const WCHAR | wszOpen [] = L"open" |
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 OPENWNDS | s_wi0 = { 0 } |
static OPENWNDS | s_wi1 = { 0 } |
#define IDS_FILE_NOT_FOUND (-1) |
Definition at line 28 of file ShellExecCmdLine.cpp.
#define NDEBUG |
Definition at line 13 of file ShellExecCmdLine.cpp.
#define SECL_ALLOW_NONEXE 0x20 |
Definition at line 21 of file ShellExecCmdLine.cpp.
#define SECL_LOG_USAGE 0x8 |
Definition at line 19 of file ShellExecCmdLine.cpp.
#define SECL_NO_UI 0x2 |
Definition at line 18 of file ShellExecCmdLine.cpp.
#define SECL_RUNAS 0x40 |
Definition at line 22 of file ShellExecCmdLine.cpp.
#define SECL_USE_IDLIST 0x10 |
Definition at line 20 of file ShellExecCmdLine.cpp.
HINSTANCE shell32_hInstance GetModuleHandle(NULL) |
Definition at line 27 of file ShellExecCmdLine.cpp.
Referenced by CFSDropTarget::_GetEffectFromMenu(), CFSDropTarget::_GetUniqueFileName(), _ILGetFileType(), _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(), CFileDefExt::CountFolderAndFiles(), 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(), CRecycleBin::GetDetailsOf(), CDrivesFolder::GetDisplayNameOf(), GetDriveNameWithLetter(), GetFileTypeIconsEx(), HCR_GetClassNameA(), HCR_GetClassNameW(), COpenWithDialog::Init(), CFileDefExt::InitFileAttr(), CDrvDefExt::InitGeneralPage(), CFileDefExt::InitGeneralPage(), CDesktopBrowser::Initialize(), CNewMenu::Initialize(), InitializeDefaultIcons(), InitializeFormatDriveDlg(), InitializeRecycleBinDlg(), CFileDefExt::InitOpensWithField(), InsertDefaultClusterSizeForFs(), CNewMenu::InsertShellNewItems(), COpenWithDialog::IsNoOpen(), LogoffWindowsDialog(), CShellLink::OnCommand(), CDefView::OnCreate(), CShellLink::OnInitDialog(), PickIconDlg(), PickIconProc(), Printer_LoadIconsW(), PropSheetProc(), CDefViewBckgrndMenu::QueryContextMenu(), CNewMenu::QueryContextMenu(), COpenWithMenu::QueryContextMenu(), CRecycleBinItemContextMenu::QueryContextMenu(), CRecycleBin::QueryContextMenu(), RunDlgProc(), RunFileDlg(), SH_CreatePropertySheetPage(), SH_FormatByteSize(), SH_ShowRecycleBinProperties(), SHBrowseForFolderW(), SHCreateDirectoryExW(), SHELL_ConfirmDialogW(), SHELL_ConfirmIDs(), SHELL_ConfirmMsgBox(), ShellAboutW(), ShellExecCmdLine(), SHEmptyRecycleBinW(), SHFormatDrive(), SHOpenWithDialog(), ShowFolderOptionsDialogThreadProc(), SHWinHelp(), SIC_Initialize(), CFileDefExt::UpdateFolderIcon(), and CDefView::UpdateStatusbar().
#define ShellExecCmdLine proxy_ShellExecCmdLine |
Definition at line 25 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().
Definition at line 571 of file ShellExecCmdLine.cpp.
Referenced by DoEntry(), and START_TEST().
|
static |
Definition at line 592 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 560 of file ShellExecCmdLine.cpp.
Referenced by CleanupNewlyCreatedWindows(), and START_TEST().
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 633 of file ShellExecCmdLine.cpp.
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().
|
static |
Definition at line 259 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
|
static |
Definition at line 498 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 254 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 256 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
|
static |
Definition at line 558 of file ShellExecCmdLine.cpp.
Referenced by CleanupNewlyCreatedWindows(), and START_TEST().
|
static |
Definition at line 558 of file ShellExecCmdLine.cpp.
Referenced by CleanupNewlyCreatedWindows().
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().
Definition at line 30 of file ShellExecCmdLine.cpp.