Can you explain IUnknown interface used in COM ?
2903
28-Mar-2011
Updated on 20-Sep-2020
Amit Singh
28-Mar-2011Every 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.