include: Define MUTEX_ALL_ACCESS in a PSDK compatible way.

This commit is contained in:
Dmitry Timoshkov 2012-04-18 16:29:16 +09:00 committed by Alexandre Julliard
parent 6235e6fd44
commit 64cf2db9a6
2 changed files with 5 additions and 2 deletions

View File

@ -885,6 +885,9 @@ typedef DWORD (WINAPI *APPLICATION_RECOVERY_CALLBACK)(PVOID);
#define FS_VOL_IS_COMPRESSED FILE_VOLUME_IS_COMPRESSED #define FS_VOL_IS_COMPRESSED FILE_VOLUME_IS_COMPRESSED
#define FS_FILE_COMPRESSION FILE_FILE_COMPRESSION #define FS_FILE_COMPRESSION FILE_FILE_COMPRESSION
#define MUTEX_MODIFY_STATE MUTANT_QUERY_STATE
#define MUTEX_ALL_ACCESS MUTANT_ALL_ACCESS
#define EXCEPTION_ACCESS_VIOLATION STATUS_ACCESS_VIOLATION #define EXCEPTION_ACCESS_VIOLATION STATUS_ACCESS_VIOLATION
#define EXCEPTION_DATATYPE_MISALIGNMENT STATUS_DATATYPE_MISALIGNMENT #define EXCEPTION_DATATYPE_MISALIGNMENT STATUS_DATATYPE_MISALIGNMENT
#define EXCEPTION_BREAKPOINT STATUS_BREAKPOINT #define EXCEPTION_BREAKPOINT STATUS_BREAKPOINT

View File

@ -4247,8 +4247,8 @@ typedef enum tagSID_NAME_USE {
#define SEMAPHORE_MODIFY_STATE 0x0002 #define SEMAPHORE_MODIFY_STATE 0x0002
#define SEMAPHORE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3) #define SEMAPHORE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3)
#define MUTEX_MODIFY_STATE 0x0001 #define MUTANT_QUERY_STATE 0x0001
#define MUTEX_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x1) #define MUTANT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|MUTANT_QUERY_STATE)
#define JOB_OBJECT_ASSIGN_PROCESS 0x0001 #define JOB_OBJECT_ASSIGN_PROCESS 0x0001
#define JOB_OBJECT_SET_ATTRIBUTES 0x0002 #define JOB_OBJECT_SET_ATTRIBUTES 0x0002