Functionget_module_reference_for_threadUse this in threads that can outlive the object or API call that created them. Without this COM, or the API caller, can unload the DLL, resulting in a
projects/WinDurango.D3D11X/include/WinDurango.D3D11X/wil/win32_helpers.h:757