DLL entry point
Posted
by Whyamistilltyping
on Stack Overflow
See other posts from Stack Overflow
or by Whyamistilltyping
Published on 2010-03-15T16:50:19Z
Indexed on
2010/03/15
17:09 UTC
Read the original article
Hit count: 271
The standard DLL entry point is called DllMain. The second param is DWORD ul_reason_for_call
.
I have looked up on the MSDN to find all the values this can have, the following are obvious:
DLL_PROCESS_ATTACH:
DLL_THREAD_ATTACH:
DLL_THREAD_DETACH:
DLL_PROCESS_DETACH:
But what about :
DLL_PROCESS_VERIFIER
When will the entry point be called with this flag and should I worry about it during 'normal' operation of the DLL?
© Stack Overflow or respective owner