22#define WIN32_NO_STATUS
45 static const WCHAR szBoo[] = {
'\\',
'b',
'o',
'o',0 };
46 static const WCHAR szHoo[] = {
'\\',
'h',
'o',
'o',0 };
50 ok(
r != 0,
"temp path failed\n");
62 ok(
r ==
TRUE,
"failed to create directory\n");
109 ok(
r ==
TRUE,
"failed to create directory\n");
146 ok(
r ==
TRUE,
"failed to remove directory\n");
161 ok(
r ==
TRUE,
"failed to remove directory\n");
173 static const WCHAR szBoo[] = {
'\\',
'b',
'o',
'o',0 };
174 static const WCHAR szHoo[] = {
'\\',
'h',
'o',
'o',0 };
178 ok(
r != 0,
"temp path failed\n");
190 ok(
r ==
TRUE,
"failed to create directory\n");
212 U(
iosb).Status = 0x01234567;
220 ok(
r ==
TRUE,
"failed to create directory\n");
238 ok(
r ==
TRUE,
"failed to remove directory\n");
259 ok(
r ==
TRUE,
"failed to create directory\n");
274 ok(
r ==
TRUE,
"failed to remove directory\n");
283 U(
iosb).Status = 0x01234567;
288 U(iosb2).Status = 0x01234567;
296 r = pNtCancelIoFile(hdir, &
iosb);
308 ok(
r ==
TRUE,
"failed to remove directory\n");
318 win_skip(
"not running on NT, skipping test\n");
325 if (!pNtNotifyChangeDirectoryFile || !pNtCancelIoFile)
327 win_skip(
"missing functions, skipping test\n");
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
#define GetProcAddress(x, y)
#define INVALID_HANDLE_VALUE
BOOL WINAPI CreateDirectoryW(IN LPCWSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
BOOL WINAPI RemoveDirectoryW(IN LPCWSTR lpPathName)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
DWORD WINAPI GetTempPathW(IN DWORD count, OUT LPWSTR path)
GLdouble GLdouble GLdouble r
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
#define FILE_FLAG_OVERLAPPED
#define FILE_FLAG_BACKUP_SEMANTICS
static PIO_STATUS_BLOCK iosb
static void test_ntncdf(void)
static void test_ntncdf_async(void)
#define STATUS_ACCESS_VIOLATION
#define STATUS_NOTIFY_ENUM_DIR
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
HANDLE WINAPI DECLSPEC_HOTPATCH CreateEventA(IN LPSECURITY_ATTRIBUTES lpEventAttributes OPTIONAL, IN BOOL bManualReset, IN BOOL bInitialState, IN LPCSTR lpName OPTIONAL)
#define STATUS_INVALID_PARAMETER
struct _FILE_NOTIFY_INFORMATION * PFILE_NOTIFY_INFORMATION
#define FILE_NOTIFY_CHANGE_SIZE
#define FILE_NOTIFY_CHANGE_LAST_ACCESS
#define FILE_NOTIFY_CHANGE_ATTRIBUTES
#define FILE_ACTION_REMOVED
#define FILE_NOTIFY_CHANGE_SECURITY
#define FILE_NOTIFY_CHANGE_FILE_NAME
#define FILE_NOTIFY_CHANGE_CREATION
#define FILE_NOTIFY_CHANGE_LAST_WRITE
#define FILE_ACTION_ADDED
#define FILE_NOTIFY_CHANGE_DIR_NAME