How to write a COM dll ?
See this: https://github.com/Eljay/com-rs
and this: https://www.reddit.com/r/rust/comments/2grmff/basic_proof_of_concept_using_win32_com_from_rust/