mirror of
https://github.com/make-42/hayai.git
synced 2025-01-18 18:47:10 +01:00
27 lines
899 B
Go
27 lines
899 B
Go
package w32
|
|
|
|
const (
|
|
RTL_CLONE_PROCESS_FLAGS_CREATE_SUSPENDED = 0x00000001
|
|
RTL_CLONE_PROCESS_FLAGS_INHERIT_HANDLES = 0x00000002
|
|
RTL_CLONE_PROCESS_FLAGS_NO_SYNCHRONIZE = 0x00000004
|
|
|
|
RTL_CLONE_PARENT = 0
|
|
RTL_CLONE_CHILD = 297
|
|
|
|
THREAD_TERMINATE = 0x0001
|
|
THREAD_SUSPEND_RESUME = 0x0002
|
|
THREAD_GET_CONTEXT = 0x0008
|
|
THREAD_SET_CONTEXT = 0x0010
|
|
THREAD_SET_INFORMATION = 0x0020
|
|
THREAD_QUERY_INFORMATION = 0x0040
|
|
THREAD_SET_THREAD_TOKEN = 0x0080
|
|
THREAD_IMPERSONATE = 0x0100
|
|
THREAD_DIRECT_IMPERSONATION = 0x0200
|
|
THREAD_SET_LIMITED_INFORMATION = 0x0400
|
|
THREAD_QUERY_LIMITED_INFORMATION = 0x0800
|
|
THREAD_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xffff
|
|
|
|
PROCESS_SET_SESSIONID = 0x0004
|
|
PROCESS_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xffff
|
|
)
|