#ifndef _NTPSAPI_H
//
// User processes and threads
//
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// begin_rev
#define THREAD_CREATE_FLAGS_CREATE_SUSPENDED 0x00000001 // NtCreateUserProcess & NtCreateThreadEx
View code on GitHub
This flags indicates that the thread should be created in a suspended state instead of being allowed to execute immediately.
THREAD_CREATE_FLAGS_NONE
THREAD_CREATE_FLAGS_SKIP_THREAD_ATTACH
THREAD_CREATE_FLAGS_HIDE_FROM_DEBUGGER
THREAD_CREATE_FLAGS_LOADER_WORKER
THREAD_CREATE_FLAGS_SKIP_LOADER_INIT
THREAD_CREATE_FLAGS_BYPASS_PROCESS_FREEZE