License
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
This module provides OS specific helper function for DLL support
(See accompanying file LICENSE)
()()bool setDllTlsUsage( HINSTANCE hInstance, void * * peb ) nothrowUNICODE_STRINGLIST_ENTRYLDR_MODULELDR_DDAG_NODEPEB_LDR_DATAvoid rt_moduleTlsCtor()void rt_moduleTlsDtor()bool dll_fixTLS( HINSTANCE hInstance, void * tlsstart, void * tlsend, void * tls_callbacks_a, int * tlsindex ) nothrowbool dll_process_attach( HINSTANCE hInstance, bool attach_threads,
void * tlsstart, void * tlsend, void * tls_callbacks_a, int * tlsindex )To be called from DllMain with reason DLLPROCESSATTACHbool dll_process_attach( HINSTANCE hInstance, bool attach_threads = true )same as above, but checking for shared runtimevoid dll_process_detach( HINSTANCE hInstance, bool detach_threads = true )to be called from DllMain with reason DLLPROCESSDETACHbool dll_thread_attach( bool attach_thread = true, bool initTls = true, HINSTANCE hInstance = null )To be called from DllMain with reason DLLTHREADATTACH Returns: true for success, false for failurebool dll_thread_detach( bool detach_thread = true, bool exitTls = true, HINSTANCE hInstance = null )To be called from DllMain with reason DLLTHREADDETACH Returns: true for success, false for failurebool tlsCtorRun