#ifndef _NTRTL_H
// rev
/**
* The RtlIsCurrentThreadAttachExempt routine determines whether the current thread is exempt from attach notifications.
*
* \return TRUE if the current thread is attach-exempt; otherwise, FALSE.
* \remarks Attach-exempt threads do not receive DLL_THREAD_ATTACH and DLL_THREAD_DETACH notifications.
*/
NTSYSAPI
BOOLEAN
NTAPI
RtlIsCurrentThreadAttachExempt(
VOID
);
View code on GitHub