#ifndef _NTRTL_H #if (PHNT_VERSION >= PHNT_VISTA) // rev NTSYSAPI BOOLEAN NTAPI RtlIsCurrentThreadAttachExempt( VOID ); #endif #endif View code on GitHub
Determines whether the current thread is supposed to skip calling DllMain with DLL_THREAD_ATTACH reason on loaded modules.
DLL_THREAD_ATTACH
The function checks for SkipThreadAttach and RanProcessInit flags in TEB.
SkipThreadAttach
RanProcessInit
TEB
This functionality is not exposed in Win32 API.
THREAD_CREATE_FLAGS_SKIP_THREAD_ATTACH
LDRP_DONT_CALL_FOR_THREADS