On Windows, the standard entry point to the DLL is called DllMain. The second option - a DWORD, ul_reason_for_call.
I looked at the possible values for this second parameter on MSDN. 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 with this flag be called? Do I have to worry about this during the "normal" operation of the DLL?
Please note that I only see DLL_PROCESS_VERIFIERin the header files from Visual Studio 2005, and not in 2008.
source
share