Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2010-08-26 05:57:46 +0400
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2010-08-26 05:57:46 +0400
commitb898a48b698858a007a885ec3da3480139b55c2b (patch)
tree438d572754eabb9f6424c39ab2164d93a4f6ea82 /winsup/w32api/include/winbase.h
parent8d5dd74cdcaf31161caf1c5388e7139988046905 (diff)
2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (COPY_FILE_OPEN_SOURCE_FOR_WRITE, COPY_FILE_ALLOW_DECRYPTED_DESTINATION, COPY_FILE_COPY_SYMLINK, COPY_FILE_NO_BUFFERING): Define. Thank you to Roland Schwingel for reporting the issue.
Diffstat (limited to 'winsup/w32api/include/winbase.h')
-rw-r--r--winsup/w32api/include/winbase.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h
index d3906b471..a559e5d07 100644
--- a/winsup/w32api/include/winbase.h
+++ b/winsup/w32api/include/winbase.h
@@ -139,8 +139,16 @@ extern "C" {
#define PROGRESS_QUIET 3
#define CALLBACK_CHUNK_FINISHED 0
#define CALLBACK_STREAM_SWITCH 1
-#define COPY_FILE_FAIL_IF_EXISTS 1
-#define COPY_FILE_RESTARTABLE 2
+#define COPY_FILE_FAIL_IF_EXISTS 0x0001
+#define COPY_FILE_RESTARTABLE 0x0002
+#define COPY_FILE_OPEN_SOURCE_FOR_WRITE 0x0004
+#if (_WIN32_WINNT > 0x0500)
+#define COPY_FILE_ALLOW_DECRYPTED_DESTINATION 0x0008
+#if (_WIN32_WINNT > 0x0501)
+#define COPY_FILE_COPY_SYMLINK 0x0800
+#define COPY_FILE_NO_BUFFERING 0x1000
+#endif
+#endif
#define OFS_MAXPATHNAME 128
#define FILE_MAP_ALL_ACCESS 0xf001f
#define FILE_MAP_READ 4