Creating the IUnknown Interface

The IUnknown interface defines three member functions that must be implemented for each object that is exposed. The prototypes for these functions reside in the header file, Ole2.h.

These functions provide the fundamental interface through which OLE can access objects. The OLE Programmer's Reference describes in detail how to implement the functions.