Interface Design Rules

This section is a short summary of interface design rules. For details of custom interface design, refer to Writing a Custom Interface.

An object is not, by definition, a COM object unless it implements at least one interface. That interface must be IUnknown or an interface that is derived from IUnknown. In addition, the following rules apply to all interfaces implemented on a COM object: