IUnknown

Fundamental interface within the COM Programming Model.

All COM classes must derive from this interface.

Members

Functions

AddRef
uint AddRef()

Increments the reference count for an interface pointer to a COM object.

QueryInterface
HRESULT QueryInterface(T** pvObject)

A helper function that infers an interface identifier.

QueryInterface
HRESULT QueryInterface(const(IID)* riid, void* ppvObject)

Queries a COM object for a pointer to one of its interface.

Release
uint Release()

Decrements the reference count for an interface on a COM object.

Static variables

iid
IID iid;

Helper type for getting the GUID of IUnknown.

Meta