THREAD_CREATE_FLAGS_HIDE_FROM_DEBUGGER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPSAPI_H
//
// User processes and threads
//
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// begin_rev

#define THREAD_CREATE_FLAGS_HIDE_FROM_DEBUGGER 0x00000004 // NtCreateThreadEx only

// end_rev
#endif
#endif

View code on GitHub

This flags indicates that the system should not notify debuggers attached to the target process about thread creation. This option also suppresses other debug events on the target thread for the entirety of its lifetime.

Applicable to

Related flags

See also