The following figure shows the interfaces that you should implement to expose ActiveX objects.
The member functions are listed under each interface name.