* include/winnt.h (THREAD_*, EVENT_*, MUTANT_*,
SEMAPHORE_*, MUTEX_*): Add new defines.
This commit is contained in:
parent
0d0fdc8d62
commit
e1377e380f
@ -1,3 +1,8 @@
|
|||||||
|
2002-05-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/winnt.h (THREAD_*, EVENT_*, MUTANT_*,
|
||||||
|
SEMAPHORE_*, MUTEX_*): Add new defines.
|
||||||
|
|
||||||
2002-05-01 Manu B <contact.manu@wanadoo.fr>
|
2002-05-01 Manu B <contact.manu@wanadoo.fr>
|
||||||
|
|
||||||
* include/commctrl.h (SNDMSG): Define and use throughout
|
* include/commctrl.h (SNDMSG): Define and use throughout
|
||||||
|
@ -275,8 +275,31 @@ typedef BYTE BOOLEAN,*PBOOLEAN;
|
|||||||
#define THREAD_IMPERSONATE 256
|
#define THREAD_IMPERSONATE 256
|
||||||
#define THREAD_DIRECT_IMPERSONATION 0x200
|
#define THREAD_DIRECT_IMPERSONATION 0x200
|
||||||
#define THREAD_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3FF)
|
#define THREAD_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3FF)
|
||||||
|
#define THREAD_BASE_PRIORITY_LOWRT 15
|
||||||
|
#define THREAD_BASE_PRIORITY_MAX 2
|
||||||
|
#define THREAD_BASE_PRIORITY_MIN -2
|
||||||
|
#define THREAD_BASE_PRIORITY_IDLE -15
|
||||||
|
#define THREAD_PRIORITY_LOWEST THREAD_BASE_PRIORITY_MIN
|
||||||
|
#define THREAD_PRIORITY_BELOW_NORMAL THREAD_PRIORITY_LOWEST+1
|
||||||
|
#define THREAD_PRIORITY_NORMAL 0
|
||||||
|
#define THREAD_PRIORITY_HIGHEST THREAD_BASE_PRIORITY_MAX
|
||||||
|
#define THREAD_PRIORITY_ABOVE_NORMAL (THREAD_PRIORITY_HIGHEST - 1)
|
||||||
|
#define THREAD_PRIORITY_ERROR_RETURN MAXLONG
|
||||||
|
#define THREAD_PRIORITY_TIME_CRITICAL THREAD_BASE_PRIORITY_LOWRT
|
||||||
|
#define THREAD_PRIORITY_IDLE THREAD_BASE_PRIORITY_IDLE
|
||||||
#define EXCEPTION_NONCONTINUABLE 1
|
#define EXCEPTION_NONCONTINUABLE 1
|
||||||
#define EXCEPTION_MAXIMUM_PARAMETERS 15
|
#define EXCEPTION_MAXIMUM_PARAMETERS 15
|
||||||
|
#define EVENT_MODIFY_STATE 0x0002
|
||||||
|
#define EVENT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3)
|
||||||
|
#define MUTANT_QUERY_STATE 0x0001
|
||||||
|
#define MUTANT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|MUTANT_QUERY_STATE)
|
||||||
|
#define SEMAPHORE_MODIFY_STATE 0x0002
|
||||||
|
#define SEMAPHORE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3)
|
||||||
|
#define MUTEX_MODIFY_STATE MUTANT_QUERY_STATE
|
||||||
|
#define MUTEX_ALL_ACCESS MUTANT_ALL_ACCESS
|
||||||
|
#define TIMER_QUERY_STATE 0x0001
|
||||||
|
#define TIMER_MODIFY_STATE 0x0002
|
||||||
|
#define TIMER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|TIMER_QUERY_STATE|TIMER_MODIFY_STATE)
|
||||||
/*
|
/*
|
||||||
* To prevent gcc compiler warnings, bracket these defines when initialising
|
* To prevent gcc compiler warnings, bracket these defines when initialising
|
||||||
* a SID_IDENTIFIER_AUTHORITY, eg.
|
* a SID_IDENTIFIER_AUTHORITY, eg.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user