NTDLL: DUPLICATE_* flags should be defined in winnt.h
Mike McCormack
mike at codeweavers.com
Sun Jun 26 07:10:37 CDT 2005
Since Alexandre didn't apply the previous patch to get rid of DUPLICATE_
DUP's here's the cutdown version which just moves the DUPLICATE_ flags
to the right place.
Mike
ChangeLog:
* DUPLICATE_* flags should be defined in winnt.h
-------------- next part --------------
Index: include/winnt.h
===================================================================
RCS file: /home/wine/wine/include/winnt.h,v
retrieving revision 1.212
diff -u -p -r1.212 winnt.h
--- include/winnt.h 20 Jun 2005 10:32:31 -0000 1.212
+++ include/winnt.h 26 Jun 2005 12:11:26 -0000
@@ -3268,6 +3268,8 @@ typedef enum tagSID_NAME_USE {
#define FILE_GENERIC_EXECUTE (STANDARD_RIGHTS_EXECUTE | FILE_EXECUTE | \
FILE_READ_ATTRIBUTES | SYNCHRONIZE)
+#define DUPLICATE_CLOSE_SOURCE 0x00000001
+#define DUPLICATE_SAME_ACCESS 0x00000002
/* File attribute flags */
#define FILE_SHARE_READ 0x00000001L
Index: include/winbase.h
===================================================================
RCS file: /home/wine/wine/include/winbase.h,v
retrieving revision 1.239
diff -u -p -r1.239 winbase.h
--- include/winbase.h 22 Jun 2005 11:59:34 -0000 1.239
+++ include/winbase.h 26 Jun 2005 12:11:26 -0000
@@ -806,9 +806,6 @@ typedef DWORD (CALLBACK *LPPROGRESS_ROUT
#define EXCEPTION_INVALID_HANDLE STATUS_INVALID_HANDLE
#define CONTROL_C_EXIT STATUS_CONTROL_C_EXIT
-#define DUPLICATE_CLOSE_SOURCE 0x00000001
-#define DUPLICATE_SAME_ACCESS 0x00000002
-
#define HANDLE_FLAG_INHERIT 0x00000001
#define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x00000002
More information about the wine-patches
mailing list