Using User Defined Types in COM & ATL – CodeProject

https://www.codeproject.com/Articles/916/Using-User-Defined-Types-in-COM-ATL