OSDN Git Service

2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
authorironhead <ironhead>
Thu, 26 Aug 2010 01:57:45 +0000 (01:57 +0000)
committerironhead <ironhead>
Thu, 26 Aug 2010 01:57:45 +0000 (01:57 +0000)
        * 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.

winsup/w32api/ChangeLog
winsup/w32api/include/winbase.h

index 1a753a4..7a014ff 100644 (file)
@@ -1,5 +1,13 @@
 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.
+
+2010-08-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>
+
        * include/winuser.h (HHOOK): Move definition from here...
        * include/windef.h: ...to here, as per MSDN.
 
index d3906b4..a559e5d 100644 (file)
@@ -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