ReactOS
0.4.15-dev-1632-g4e289ce
|
#include "shelltest.h"
#include <shlwapi.h>
#include <strsafe.h>
#include <versionhelpers.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) |
#define | RETRY_COUNT 5 |
#define | RETRY_INTERVAL 250 |
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) |
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 const char | s_testfile1 [] = "Test File.txt" |
static const char | s_testfile2 [] = "Test File.bat" |
static char | s_notepad [] = "notepad.exe" |
static const TEST_ENTRY | s_entries [] |
#define IDS_FILE_NOT_FOUND (-1) |
Definition at line 27 of file ShellExecCmdLine.cpp.
#define NDEBUG |
Definition at line 12 of file ShellExecCmdLine.cpp.
#define RETRY_COUNT 5 |
#define RETRY_INTERVAL 250 |
#define SECL_ALLOW_NONEXE 0x20 |
Definition at line 20 of file ShellExecCmdLine.cpp.
#define SECL_LOG_USAGE 0x8 |
Definition at line 18 of file ShellExecCmdLine.cpp.
#define SECL_NO_UI 0x2 |
Definition at line 17 of file ShellExecCmdLine.cpp.
#define SECL_RUNAS 0x40 |
Definition at line 21 of file ShellExecCmdLine.cpp.
#define SECL_USE_IDLIST 0x10 |
Definition at line 19 of file ShellExecCmdLine.cpp.
HINSTANCE shell32_hInstance GetModuleHandle(NULL) |
Definition at line 26 of file ShellExecCmdLine.cpp.
Referenced by CFSDropTarget::_GetEffectFromMenu(), CFSDropTarget::_GetUniqueFileName(), _ILGetFileType(), _InsertMenuItemW(), _SetOperationTitle(), _SHGetDefaultValue(), AboutDlgProc(), ActionDlg_OnBrowse(), COpenWithMenu::AddChooseProgramItem(), CDefaultContextMenu::AddStaticContextMenusToMenu(), COpenWithDialog::Browse(), BrsFolder_NewFolder(), ConfirmDialog(), Control_CreateListView(), Control_DoInterface(), Control_WndProc(), Control_WndProc_Create(), CFileDefExt::CountFolderAndFiles(), CNewMenu::CreateNewFolder(), CShellLink::CreateShortcutIcon(), do_error_dialog(), CDefaultContextMenu::DoCreateNewFolder(), DrivesContextMenuCallback(), EditTypeDlg_OnCommand(), CDrvDefExt::ExtraPageProc(), FileTypesDlg_DoList(), 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(), InitializeFormatDriveDlg(), InitializeRecycleBinDlg(), CFileDefExt::InitOpensWithField(), InsertDefaultClusterSizeForFs(), CNewMenu::InsertShellNewItems(), COpenWithDialog::IsNoOpen(), LogoffWindowsDialog(), CNewMenu::NewItemByNonCommand(), CShellLink::OnCommand(), CDefView::OnCreate(), PickIconDlg(), PickIconProc(), Printer_LoadIconsW(), PropSheetProc(), CDefViewBckgrndMenu::QueryContextMenu(), COpenWithMenu::QueryContextMenu(), CRecycleBin::QueryContextMenu(), CNewMenu::QueryContextMenu(), CRecycleBinItemContextMenu::QueryContextMenu(), RunDlgProc(), RunFileDlg(), SetFileTypeEntryDefaultIcon(), SH_CreatePropertySheetPage(), SH_FormatByteSize(), SH_ShowRecycleBinProperties(), SHBrowseForFolderW(), SHCreateDirectoryExW(), SHELL_ConfirmDialogW(), SHELL_ConfirmIDs(), SHELL_ConfirmMsgBox(), ShellAboutW(), ShellExecCmdLine(), SHEmptyRecycleBinW(), SHFormatDrive(), SHOpenWithDialog(), ShowFolderOptionsDialog(), SHWinHelp(), SIC_Initialize(), CFileDefExt::UpdateFolderIcon(), and CDefView::UpdateStatusbar().
#define ShellExecCmdLine proxy_ShellExecCmdLine |
Definition at line 24 of file ShellExecCmdLine.cpp.
Definition at line 241 of file ShellExecCmdLine.cpp.
typedef struct TEST_ENTRY TEST_ENTRY |
Definition at line 33 of file ShellExecCmdLine.cpp.
Referenced by ShellExecCmdLine().
|
static |
Definition at line 407 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
HRESULT WINAPI ShellExecCmdLine | ( | HWND | hwnd, |
LPCWSTR | pwszCommand, | ||
LPCWSTR | pwszStartDir, | ||
int | nShow, | ||
LPVOID | pUnused, | ||
DWORD | dwSeclFlags | ||
) |
Definition at line 87 of file ShellExecCmdLine.cpp.
START_TEST | ( | ShellExecCmdLine | ) |
Definition at line 462 of file ShellExecCmdLine.cpp.
SHELLEXECCMDLINE g_pShellExecCmdLine = NULL |
Definition at line 242 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
|
static |
Definition at line 258 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
|
static |
Definition at line 256 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 254 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 255 of file ShellExecCmdLine.cpp.
Referenced by START_TEST().
Definition at line 31 of file ShellExecCmdLine.cpp.
Referenced by ShellExecCmdLine().
Definition at line 30 of file ShellExecCmdLine.cpp.
Referenced by ShellExecCmdLine().
Definition at line 29 of file ShellExecCmdLine.cpp.