COM is an acronym for Component Object Model. COM is a way of building objects that is independent of any programming language.
Every COM object implements an interface named IUnknown. It contains three methods:
- QueryInterface: Returns a pointer to another interface
- AddRef: Increments the objects reference count
- Release: Decrements the objects reference count.