The OpenD Programming Language

dll_process_attach

To be called from DllMain with reason DLL_PROCESS_ATTACH

fixup TLS storage, initialize runtime and attach to threads

  1. bool dll_process_attach(HINSTANCE hInstance, bool attach_threads, void* tlsstart, void* tlsend, void* tls_callbacks_a, int* tlsindex)
    version(Windows)
    bool
    dll_process_attach
    (
    HINSTANCE hInstance
    ,,
    void* tlsstart
    ,
    void* tlsend
    ,,)
  2. bool dll_process_attach(HINSTANCE hInstance, bool attach_threads)

Return Value

Type: bool

true = success, false = failure

Meta