mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
- Add flags for NtCreateProcessEx for upcoming patch.
- Clear Tcb->Win32Thread during win32 cleanup. svn path=/trunk/; revision=19958
This commit is contained in:
@@ -88,6 +88,18 @@ extern NTSYSAPI POBJECT_TYPE PsProcessType;
|
||||
#define PROCESS_PRIORITY_CLASS_BELOW_NORMAL 5
|
||||
#define PROCESS_PRIORITY_CLASS_ABOVE_NORMAL 6
|
||||
|
||||
//
|
||||
// NtCreateProcessEx flags
|
||||
//
|
||||
#define PS_REQUEST_BREAKAWAY 1
|
||||
#define PS_NO_DEBUG_INHERIT 2
|
||||
#define PS_INHERIT_HANDLES 4
|
||||
#define PS_UNKNOWN_VALUE 8
|
||||
#define PS_ALL_FLAGS (PS_REQUEST_BREAKAWAY | \
|
||||
PS_NO_DEBUG_INHERIT | \
|
||||
PS_INHERIT_HANDLES | \
|
||||
PS_UNKNOWN_VALUE)
|
||||
|
||||
//
|
||||
// Process base priorities
|
||||
//
|
||||
|
||||
@@ -248,6 +248,7 @@ Win32kThreadCallback(struct _ETHREAD *Thread,
|
||||
|
||||
e = PopEntryList(&Win32Thread->ReferencesList);
|
||||
}
|
||||
PsSetThreadWin32Thread(Thread, NULL);
|
||||
}
|
||||
|
||||
RETURN( STATUS_SUCCESS);
|
||||
|
||||
Reference in New Issue
Block a user