IUnknown
[Properties (by Name)][Methods (by Name)][Events (by Name)]
Basic interface for all COM-based interfaces
Declaration
Source position: objpash.inc line 261
Type
IUnknown = interface ['{00000000-0000-0000-C000-000000000046}']
function QueryInterface(const iid: TGuid; out obj) : LongInt;
function _AddRef : LongInt;
function _Release : LongInt;
end
;
Description
IUnknown is defined by windows. It's the basic interface which all COM objects must implement. The definition does not contain any code.
Members
Member | Type | Visibility | Description |
---|---|---|---|
QueryInterface | Method | default | Return pointer to VMT table of interface |
_AddRef | Method | default | Increase reference count of the interface |
_Release | Method | default | Decrease reference count of the interface |
Inheritance
Class | Description |
---|---|
IUnknown | Basic interface for all COM-based interfaces |
See also
Name | Description |
---|---|
IDispatch | Dispatch interface |
IInterface | Basic interface for all COM based interfaces |
IInvokable | Interface with RTTI associated with it. |