pub fn initialize_com() -> Result<()>
Initializes the COM library for the current thread. Will do nothing on further calls from the same thread.