COM DCOM Question:
What is IUnknown? What methods are provided by IUnknown?

Answer:
IUnknown is a type of COM Interface.
Every COM class implements an interface named IUnKnown.
IUnKnown contains three methods:
1) HRESULT QueryInterface()
2) ULONG AddRef()
3) ULONG Release()
Every COM class implements an interface named IUnKnown.
IUnKnown contains three methods:
1) HRESULT QueryInterface()
2) ULONG AddRef()
3) ULONG Release()
Previous Question | Next Question |
What are the purposes of AddRef, Release and QueryInterface functions? | What should QueryInterface functions do if requested object was not found? |