DUPLICATE_* flags should be defined in winnt.h.
This commit is contained in:
parent
a352cc8a6b
commit
901f5b328c
|
@ -806,9 +806,6 @@ typedef DWORD (CALLBACK *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE
|
|||
#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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue