ReactOS 0.4.16-dev-13-ge2fc578
|
#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <winnls.h>
#include <strsafe.h>
#include <conutils.h>
#include "strlist.h"
#include "resource.h"
Go to the source code of this file.
Macros | |
#define | FLAG_HELP (1 << 0) |
#define | FLAG_R (1 << 1) |
#define | FLAG_Q (1 << 2) |
#define | FLAG_F (1 << 3) |
#define | FLAG_T (1 << 4) |
#define | IS_DOTS(pch) (*(pch) == L'.' && ((pch)[1] == 0 || ((pch)[1] == L'.' && (pch)[2] == 0))) |
#define | DEFAULT_PATHEXT L".com;.exe;.bat;.cmd" |
Typedefs | |
typedef enum WRET | WRET |
typedef BOOL(CALLBACK * | WHERE_CALLBACK) (LPCWSTR pattern, LPCWSTR path, PWIN32_FIND_DATAW data) |
Enumerations | |
enum | WRET { WRET_SUCCESS = 0 , WRET_NOT_FOUND = 1 , WRET_ERROR = 2 } |
Variables | |
static DWORD | s_dwFlags = 0 |
static LPWSTR | s_pszRecursiveDir = NULL |
static strlist_t | s_patterns = strlist_default |
static strlist_t | s_results = strlist_default |
static strlist_t | s_pathext = strlist_default |
Enumerator | |
---|---|
WRET_SUCCESS | |
WRET_NOT_FOUND | |
WRET_ERROR |
Definition at line 202 of file where.c.
Referenced by WhereParseCommandLine().
Definition at line 383 of file where.c.
Referenced by wmain().
Definition at line 42 of file where.c.
Referenced by WhereDoPattern(), WhereIsRecursiveDirOK(), and wmain().
Definition at line 309 of file where.c.
Referenced by WhereDoPattern(), and WhereFindByVar().
Definition at line 349 of file where.c.
Referenced by WhereDoPattern().
Definition at line 275 of file where.c.
Referenced by wmain().
Definition at line 181 of file where.c.
Referenced by WhereFindByVar().
Definition at line 359 of file where.c.
Referenced by WhereDoPattern().
Definition at line 214 of file where.c.
Referenced by wmain().
|
static |
Definition at line 84 of file where.c.
Referenced by WhereSearchFiles().
Definition at line 170 of file where.c.
Referenced by WhereFindByDirs().
Definition at line 126 of file where.c.
Referenced by WhereSearch(), and WhereSearchRecursive().
|
static |
Definition at line 51 of file where.c.
Referenced by WhereSearchFiles(), and WhereSearchRecursive().
Definition at line 157 of file where.c.
Referenced by WhereDoPattern(), and WhereSearchRecursiveCallback().
|
static |
Definition at line 151 of file where.c.
Referenced by WhereSearchRecursive().
Definition at line 435 of file where.c.
|
static |
Definition at line 23 of file where.c.
Referenced by WhereDoOption(), WhereDoPattern(), WhereError(), WhereGetVariable(), WherePrintPath(), and wmain().
|
static |
Definition at line 27 of file where.c.
Referenced by WhereSearchFiles(), and wmain().
|
static |
Definition at line 25 of file where.c.
Referenced by WhereParseCommandLine(), and wmain().
Definition at line 24 of file where.c.
Referenced by WhereDoPattern(), and WhereParseCommandLine().
|
static |
Definition at line 26 of file where.c.
Referenced by WherePrintPath(), and wmain().