mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-31 08:21:03 +00:00
Fix creating suspended thread and parse create_flags
This commit is contained in:
@@ -971,6 +971,13 @@ union TEB_CROSS_TEB_FLAGS_UNION
|
||||
USHORT SpareCrossTebBits : 16;
|
||||
};
|
||||
|
||||
constexpr auto THREAD_CREATE_FLAGS_CREATE_SUSPENDED = 0x1;
|
||||
constexpr auto THREAD_CREATE_FLAGS_SKIP_THREAD_ATTACH = 0x2;
|
||||
constexpr auto THREAD_CREATE_FLAGS_HIDE_FROM_DEBUGGER = 0x4;
|
||||
constexpr auto THREAD_CREATE_FLAGS_LOADER_WORKER = 0x10;
|
||||
constexpr auto THREAD_CREATE_FLAGS_SKIP_LOADER_INIT = 0x20;
|
||||
constexpr auto THREAD_CREATE_FLAGS_BYPASS_PROCESS_FREEZE = 0x40;
|
||||
|
||||
union TEB_SAME_TEB_FLAGS_UNION
|
||||
{
|
||||
USHORT SameTebFlags;
|
||||
|
||||
Reference in New Issue
Block a user