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.
#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