Prevent call DllMain with DLL_THREAD_* events.