#pragma once #ifdef _WIN32 #include "export.hpp" #include #include enum com_type : int { com_multithreaded = COINIT_MULTITHREADED, com_apartment = COINIT_APARTMENTTHREADED, }; bool OPENTRACK_COMPAT_EXPORT init_com_threading(com_type t = com_multithreaded); #endif