ReactOS 0.4.16-dev-106-g10b08aa
|
Go to the source code of this file.
Classes | |
struct | tagTEST_ENTRY |
Typedefs | |
typedef int(WINAPI * | PATHRESOLVE) (LPWSTR, LPWSTR *, UINT) |
typedef BOOL(WINAPI * | ISLFNDRIVEW) (LPCWSTR) |
typedef struct tagTEST_ENTRY | TEST_ENTRY |
typedef struct tagTEST_ENTRY * | PTEST_ENTRY |
Functions | |
static BOOL | CreateShortcut (LPCWSTR pszLnkFileName, LPCWSTR pszTargetPathName) |
static BOOL | CreateRegAppPath (INT SectionNumber, INT LineNumber, const WCHAR *Name, const WCHAR *Value) |
static BOOL | DeleteRegAppPath (INT SectionNumber, INT LineNumber, const WCHAR *Name) |
static void | DoEntry (INT SectionNumber, INT LineNumber, const TEST_ENTRY *pEntry) |
static void | TestMain_PathResolve (void) |
START_TEST (PathResolve) | |
Variables | |
static HINSTANCE | s_hShell32 = NULL |
static PATHRESOLVE | s_pPathResolve = NULL |
static ISLFNDRIVEW | s_pIsLFNDriveW = NULL |
static WCHAR | s_TestDir [MAX_PATH] |
static WCHAR | s_TestDirWithBackslash [MAX_PATH] |
static WCHAR | s_ShortcutLongName [MAX_PATH] |
static WCHAR | s_LinkTarget [MAX_PATH] |
static WCHAR | s_LinkTargetWithBackslash [MAX_PATH] |
static WCHAR | s_LinkTargetDoubleBackslash [MAX_PATH] |
static LPWSTR | s_Dirs [2] = { s_TestDir, NULL } |
static LPWSTR | s_DirsWithBackslash [2] = { s_TestDirWithBackslash, NULL } |
static const TEST_ENTRY | s_LFNEntries [] |
#define EF_APP_PATH 0x20 |
Definition at line 82 of file PathResolve.cpp.
#define EF_FULLPATH 0x01 |
Definition at line 78 of file PathResolve.cpp.
#define EF_NAME_ONLY 0x10 |
Definition at line 81 of file PathResolve.cpp.
#define EF_TESTDATA 0x02 |
Definition at line 79 of file PathResolve.cpp.
#define EF_TYPE_MASK 0x0F |
Definition at line 80 of file PathResolve.cpp.
Definition at line 88 of file PathResolve.cpp.
Definition at line 89 of file PathResolve.cpp.
Definition at line 87 of file PathResolve.cpp.
#define FLAGS0 0 |
Definition at line 49 of file PathResolve.cpp.
#define FLAGS1 PRF_VERIFYEXISTS |
Definition at line 50 of file PathResolve.cpp.
#define FLAGS10 (PRF_REQUIREABSOLUTE | PRF_FIRSTDIRDEF | PRF_VERIFYEXISTS) |
Definition at line 59 of file PathResolve.cpp.
#define FLAGS11 (PRF_REQUIREABSOLUTE | PRF_FIRSTDIRDEF | PRF_EXECUTABLE) |
Definition at line 60 of file PathResolve.cpp.
#define FLAGS12 (PRF_REQUIREABSOLUTE | PRF_FIRSTDIRDEF | PRF_TRYPROGRAMEXTENSIONS) |
Definition at line 61 of file PathResolve.cpp.
#define FLAGS13 0xFFFFFFFF |
Definition at line 62 of file PathResolve.cpp.
#define FLAGS2 PRF_EXECUTABLE |
Definition at line 51 of file PathResolve.cpp.
#define FLAGS3 PRF_TRYPROGRAMEXTENSIONS |
Definition at line 52 of file PathResolve.cpp.
#define FLAGS4 (PRF_FIRSTDIRDEF | PRF_VERIFYEXISTS) |
Definition at line 53 of file PathResolve.cpp.
#define FLAGS5 (PRF_FIRSTDIRDEF | PRF_EXECUTABLE) |
Definition at line 54 of file PathResolve.cpp.
#define FLAGS6 (PRF_FIRSTDIRDEF | PRF_TRYPROGRAMEXTENSIONS) |
Definition at line 55 of file PathResolve.cpp.
#define FLAGS7 (PRF_REQUIREABSOLUTE | PRF_VERIFYEXISTS) |
Definition at line 56 of file PathResolve.cpp.
#define FLAGS8 (PRF_REQUIREABSOLUTE | PRF_EXECUTABLE) |
Definition at line 57 of file PathResolve.cpp.
#define FLAGS9 (PRF_REQUIREABSOLUTE | PRF_TRYPROGRAMEXTENSIONS) |
Definition at line 58 of file PathResolve.cpp.
#define PRF_DONTFINDLNK 0x08 |
Definition at line 42 of file PathResolve.cpp.
#define PRF_EXECUTABLE 0x02 |
Definition at line 39 of file PathResolve.cpp.
#define PRF_FIRSTDIRDEF 0x04 |
Definition at line 41 of file PathResolve.cpp.
#define PRF_REQUIREABSOLUTE 0x10 |
Definition at line 45 of file PathResolve.cpp.
#define PRF_TRYPROGRAMEXTENSIONS (PRF_EXECUTABLE | PRF_VERIFYEXISTS) |
Definition at line 40 of file PathResolve.cpp.
#define PRF_VERIFYEXISTS 0x01 |
Definition at line 38 of file PathResolve.cpp.
Definition at line 90 of file PathResolve.cpp.
#define RET_IGNORE 0x00BEF00D |
Definition at line 84 of file PathResolve.cpp.
Definition at line 22 of file PathResolve.cpp.
Definition at line 19 of file PathResolve.cpp.
typedef struct tagTEST_ENTRY * PTEST_ENTRY |
typedef struct tagTEST_ENTRY TEST_ENTRY |
|
static |
Definition at line 609 of file PathResolve.cpp.
Referenced by DoEntry().
Definition at line 578 of file PathResolve.cpp.
Referenced by START_TEST().
|
static |
Definition at line 655 of file PathResolve.cpp.
Referenced by TestMain_PathResolve().
START_TEST | ( | PathResolve | ) |
Definition at line 831 of file PathResolve.cpp.
Definition at line 767 of file PathResolve.cpp.
Referenced by START_TEST().
Definition at line 33 of file PathResolve.cpp.
|
static |
Definition at line 34 of file PathResolve.cpp.
Definition at line 24 of file PathResolve.cpp.
Referenced by START_TEST().
|
static |
Definition at line 93 of file PathResolve.cpp.
Referenced by TestMain_PathResolve().
Definition at line 30 of file PathResolve.cpp.
Referenced by START_TEST().
Definition at line 32 of file PathResolve.cpp.
Referenced by START_TEST().
Definition at line 31 of file PathResolve.cpp.
Referenced by START_TEST().
|
static |
Definition at line 26 of file PathResolve.cpp.
Referenced by START_TEST().
|
static |
Definition at line 25 of file PathResolve.cpp.
Referenced by START_TEST().
Definition at line 29 of file PathResolve.cpp.
Referenced by START_TEST().
Definition at line 27 of file PathResolve.cpp.
Referenced by DoEntry(), and START_TEST().
Definition at line 28 of file PathResolve.cpp.
Referenced by START_TEST().