mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
21
libc/nt/enum/threadaccess.h
Normal file
21
libc/nt/enum/threadaccess.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_THREADACCESS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_THREADACCESS_H_
|
||||
#include "libc/nt/enum/accessmask.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
#define kNtThreadTerminate 0x0001
|
||||
#define kNtThreadSuspendResume 0x0002
|
||||
#define kNtThreadGetContext 0x0008
|
||||
#define kNtThreadSetContext 0x0010
|
||||
#define kNtThreadQueryInformation 0x0040
|
||||
#define kNtThreadSetInformation 0x0020
|
||||
#define kNtThreadSetThreadToken 0x0080
|
||||
#define kNtThreadImpersonate 0x0100
|
||||
#define kNtThreadDirectImpersonation 0x0200
|
||||
#define kNtThreadSetLimitedInformation 0x0400
|
||||
#define kNtThreadQueryLimitedInformation 0x0800
|
||||
#define kNtThreadResume 0x1000
|
||||
#define kNtThreadAllAccess (kNtStandardRightsRequired | kNtSynchronize | 0xFFFF)
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_THREADACCESS_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue