dll_process_attach

fnbool 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 DLL_PROCESS_ATTACH

fixup TLS storage, initialize runtime and attach to threads

Returns

true = success, false = failure
fnbool dll_process_attach( HINSTANCE hInstance, bool attach_threads = true )

same as above, but checking for shared runtime