#ifndef _NTPSAPI_H
//
// User processes and threads
//
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// begin_rev
#define THREAD_CREATE_FLAGS_BYPASS_PROCESS_FREEZE 0x00000040 // NtCreateThreadEx only // since 19H1
View code on GitHub
This flags indicates that the thread should not be suspended when the system suspends or freezes the process. See this post for more details about the flag. For the differences between suspension, freezing, and deep freezing, see this repository.
THREAD_CREATE_FLAGS_NONE
THREAD_CREATE_FLAGS_CREATE_SUSPENDED
THREAD_CREATE_FLAGS_SKIP_THREAD_ATTACH
THREAD_CREATE_FLAGS_HIDE_FROM_DEBUGGER
THREAD_CREATE_FLAGS_LOADER_WORKER
THREAD_CREATE_FLAGS_SKIP_LOADER_INIT