What is the IUnknown interface? - C++

What is the IUnknown interface?

- IUnknown interface provides clients like DirectX control of to get pointers to other interfaces. All COM interfaces are inherited from IUnknown interface. It is used In multiple inheritance where the various interfaces can share one implementation of IUnknown.

What is the IUnknown interface?

- The IUnknown interface lets clients get pointers to other interfaces on a given object through the QueryInterface method, and manage the existence of the object through the IUnknown::AddRef and IUnknown::Release methods.
- IUnknown methods can be used to switch between interfaces on an object, add references, and release objects.
You must implement IUnknown as part of every interface.
What is binary object model? - C++
What is binary object model? - COM defines an API to allow for the creation of components for use in integrating custom applications or to allow diverse components to interact....
How does COM provide language transparency? - C++
How does COM provide language transparency? - COM defines an API to allow for the creation of components for use in integrating custom applications or to allow diverse components to interact...
Post your comment