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