From 29d3f1e15d063bbf6eb226102ca2a127e61d342e Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Mon, 22 May 2006 22:16:05 +0100 Subject: [PATCH] include: Add defines used in CopyFileEx. --- include/winbase.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/winbase.h b/include/winbase.h index 4d4bb3f842b..c3e516d9f71 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -171,6 +171,16 @@ typedef struct _OFSTRUCT #define COPY_FILE_RESTARTABLE 0x00000002 #define COPY_FILE_OPEN_SOURCE_FOR_WRITE 0x00000004 +/* return values for CopyProgressRoutine */ +#define PROGRESS_CONTINUE 0 +#define PROGRESS_CANCEL 1 +#define PROGRESS_STOP 2 +#define PROGRESS_QUIET 3 + +/* reason codes for CopyProgressRoutine */ +#define CALLBACK_CHUNK_FINISHED 0 +#define CALLBACK_STREAM_SWITCH 1 + /* GetTempFileName() Flags */ #define TF_FORCEDRIVE 0x80