84{
86 struct
87 {
91 {
114 {
L"\\\\.\\GLOBAL??",
FALSE },
115 {
L"\\\\.\\GLOBAL??\\",
FALSE },
119 {
L"\\\\??\\C:\\",
FALSE },
126 {
L"C:\\/\\",
TRUE },
130 {
L"C:\\%ls",
TRUE },
132 {
L"C://%ls",
TRUE },
133 {
L"C:\\/%ls",
TRUE },
134 {
L"C:/\\%ls",
TRUE },
135 {
L"C:\\/\\%ls",
TRUE },
136 {
L"C:\\%ls\\",
TRUE },
137 {
L"C:\\%ls\\ThisFolderExists",
TRUE },
138 {
L"C:\\%ls\\ThisFolderExists\\",
TRUE },
139 {
L"C:\\%ls\\ThisFolderExists ",
TRUE },
140 {
L"C:\\%ls\\ThisFolderExists ",
TRUE },
141 {
L"C:\\%ls\\ThisFolderExists ",
TRUE },
142 {
L"C:\\%ls\\ThisFolderExists:",
FALSE },
143 {
L"C:\\%ls\\ThisFolderExists\t",
FALSE },
144 {
L"C:\\%ls\\ThisFolderExists\n",
FALSE },
145 {
L"C:\\%ls\\ThisFolderExists\r",
FALSE },
146 {
L" C:\\%ls\\ThisFolderExists",
FALSE },
147 {
L"C:\\%ls\\ ThisFolderExists",
FALSE },
148 {
L"C:\\%ls \\ThisFolderExists",
FALSE },
149 {
L"C:\\%ls\\ThisDoesntExist",
FALSE },
150 {
L"C:\\\\%ls\\\\ThisFolderExists",
TRUE },
151 {
L"C:\\%ls\\ThisFolderExists\\ThisFileExists",
TRUE },
152 {
L"c:\\%ls\\thisfolderexists\\thisfileexists",
TRUE },
153 {
L"C:\\%ls\\THISFOLDEREXISTS\\THISFILEEXISTS",
TRUE },
154 {
L"C:\\%ls\\ThisFolderExists\\SomeProgram.exe",
TRUE },
155 {
L"C:\\%ls\\ThisFolderExists\\SomeProgram",
FALSE },
156 {
L"C:\\%ls\\ThisFolderExists\\With",
FALSE },
157 {
L"C:\\%ls\\ThisFolderExists\\With Space",
TRUE },
158 {
L"C:\\%ls\\ThisFolderExists\\Without",
TRUE },
159 {
L"C:\\%ls\\ThisFolderExists\\Without Space",
FALSE },
160 {
L"C:\\%ls abc",
FALSE },
161 {
L"\"C:\\%ls\" abc",
FALSE },
163 {
L"C:\\%ls;C:\\",
FALSE },
164 {
L"%%SystemRoot%%",
FALSE },
165 {
L"%%SystemRoot%%\\",
FALSE },
166 {
L"%%SystemRoot%%\\system32",
FALSE },
176 {
L"\\??\\C:\\%ls\\ThisFolderExists",
FALSE },
177 };
183
185 {
188 skip(
"RtlDoesFileExists_UEx unavailable\n");
189 }
190
192 {
195 skip(
"RtlDoesFileExists_UStr unavailable\n");
196 }
197
199 {
202 skip(
"RtlDoesFileExists_UstrEx unavailable\n");
203 }
204
209
211 {
218 }
219
221 {
223 }
224
226 {
229 }
230
232
234 {
237 }
239 ok(
Success,
"CreateDirectory failed, results might not be accurate\n");
242 ok(
Success,
"CreateDirectory failed, results might not be accurate\n");
247 {
248
250 {
253
256 }
258 {
262 TempString = FileNameString;
266
270 }
272 }
273
278
283
288
290 {
297 {
306 }
307
309 {
313 TempString = FileNameString;
319 }
321 {
325 TempString = FileNameString;
336 }
337 }
338
348
358}
#define ok_eq_ustr(str1, str2)
#define ok_bool_file(value, expected, file)
#define EndSeh(ExpectedStatus)
void ls(int argc, const char *argv[])
while(CdLookupNextInitialFileDirent(IrpContext, Fcb, FileContext))
#define GetProcAddress(x, y)
#define INVALID_HANDLE_VALUE
BOOL WINAPI DeleteFileW(IN LPCWSTR lpFileName)
BOOL WINAPI CreateDirectoryW(IN LPCWSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
BOOL WINAPI RemoveDirectoryW(IN LPCWSTR lpPathName)
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
struct _FileName FileName
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
NTSYSAPI BOOLEAN NTAPI RtlDoesFileExists_U(_In_ PCWSTR FileName)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
BOOLEAN NTAPI RtlDoesFileExists_UStr(IN PUNICODE_STRING FileName)
#define STATUS_ACCESS_VIOLATION
BOOLEAN NTAPI RtlDoesFileExists_UstrEx(IN PCUNICODE_STRING FileName, IN BOOLEAN SucceedIfBusy)
BOOLEAN NTAPI RtlDoesFileExists_UEx(IN PCWSTR FileName, IN BOOLEAN SucceedIfBusy)
#define INVALID_FILE_ATTRIBUTES
DWORD WINAPI GetLastError(void)