29#define EF_TYPE_MASK 0xF
31#define EF_NAME_ONLY 16
47#define IGNORE_ERR 0x7F7F7F7F
250 skip(
"#%d: GetEnvironmentVariableW failed\n", EntryNumber);
255 skip(
"#%d: SetEnvironmentVariableW failed\n", EntryNumber);
283 "#%d: SetEnvironmentVariableW failed\n", EntryNumber);
286 ok(Ret ==
pEntry->Ret,
"#%d: Ret expected %d, was %d.\n",
287 EntryNumber,
pEntry->Ret, Ret);
291 ok(
Error ==
pEntry->Error,
"#%d: last error expected %ld, was %ld.\n",
300 else if (
pEntry->NameExpected)
302 ok(
lstrcmpiW(
Path, PathExpected) == 0,
"#%d: Path expected %s, was %s.\n",
336 skip(
"GetModuleFileName and/or wcsrchr are insane.\n");
342 skip(
"testdata is not found.\n");
static WCHAR s_NotepadPath[MAX_PATH]
static WCHAR s_FontsDir[MAX_PATH]
static WCHAR s_SysDir[MAX_PATH]
static const ENTRY s_Entries[]
static WCHAR s_TestDataPath[MAX_PATH]
static WCHAR s_WinDir[MAX_PATH]
static void DoEntry(INT EntryNumber, const ENTRY *pEntry, const WCHAR *PathVar)
static void Test_PathFindOnPathW(void)
PRTL_UNICODE_STRING_BUFFER Path
#define GetEnvironmentVariableW(x, y, z)
BOOL WINAPI DECLSPEC_HOTPATCH SetEnvironmentVariableW(IN LPCWSTR lpName, IN LPCWSTR lpValue)
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
UINT WINAPI GetSystemDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
UINT WINAPI GetWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
BOOL WINAPI PathFindOnPathW(LPWSTR lpszFile, LPCWSTR *lppszOtherDirs)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define EXCEPTION_EXECUTE_HANDLER
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
#define ERROR_FILE_NOT_FOUND
#define _SEH2_EXCEPT(...)
#define INVALID_FILE_ATTRIBUTES
DWORD WINAPI GetLastError(void)