summaryrefslogtreecommitdiffstats
path: root/tests/shared
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2010-12-20 10:55:32 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2010-12-20 10:57:17 (GMT)
commit3677eabde5595194b6fc72cd395a1ae7560c5e48 (patch)
treecad01ce9aaacd371f9b727a67a545f7c2573748c /tests/shared
parent8789d4bd9eaba3a90fb3a94edb71ad0c1e01dc66 (diff)
downloadQt-3677eabde5595194b6fc72cd395a1ae7560c5e48.zip
Qt-3677eabde5595194b6fc72cd395a1ae7560c5e48.tar.gz
Qt-3677eabde5595194b6fc72cd395a1ae7560c5e48.tar.bz2
define FSCTL_SET_REPARSE_POINT in test header
... as was already done in windows engine implementation for FSCTL_*GET*_REPARSE_POINT.
Diffstat (limited to 'tests/shared')
-rw-r--r--tests/shared/filesystem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/shared/filesystem.h b/tests/shared/filesystem.h
index 8274346..4775671 100644
--- a/tests/shared/filesystem.h
+++ b/tests/shared/filesystem.h
@@ -55,6 +55,9 @@
#define IO_REPARSE_TAG_MOUNT_POINT (0xA0000003L)
#endif
#define REPARSE_MOUNTPOINT_HEADER_SIZE 8
+#ifndef FSCTL_SET_REPARSE_POINT
+#define FSCTL_SET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 41, METHOD_BUFFERED, FILE_SPECIAL_ACCESS)
+#endif
#endif
struct FileSystem