diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2010-08-26 05:57:46 +0400 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2010-08-26 05:57:46 +0400 |
commit | b898a48b698858a007a885ec3da3480139b55c2b (patch) | |
tree | 438d572754eabb9f6424c39ab2164d93a4f6ea82 /winsup/w32api | |
parent | 8d5dd74cdcaf31161caf1c5388e7139988046905 (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')
-rw-r--r-- | winsup/w32api/ChangeLog | 8 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 12 |
2 files changed, 18 insertions, 2 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 1a753a485..7a014fffe 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -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. 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 |