IDispatch
[Properties (by Name)][Methods (by Name)][Events (by Name)]
Dispatch interface
Declaration
Source position: objpash.inc line 287
Type
IDispatch = interface (IUnknown) ['{00020400-0000-0000-C000-000000000046}']
function GetTypeInfoCount(out count: LongInt) : HRESULT;
function GetTypeInfo(Index: LongInt; LocaleID: LongInt; out TypeInfo)
: HRESULT;
function GetIDsOfNames(const iid: TGuid; names: Pointer;
NameCount: LongInt; LocaleID: LongInt;
DispIDs: Pointer) : HRESULT;
function Invoke(DispID: LongInt; const iid: TGuid; LocaleID: LongInt;
Flags: Word; var params; VarResult: pointer;
ExcepInfo: pointer; ArgErr: pointer) : HRESULT;
end
;
Description
IDispatch is the pascal definition of the Windows Dispatch interface definition.
Members
| Member | Type | Visibility | Description |
|---|---|---|---|
| GetIDsOfNames | Method | default | Return IDs of named procedures |
| GetTypeInfo | Method | default | Return type information about properties |
| GetTypeInfoCount | Method | default | Return number of properties. |
| Invoke | Method | default | Invoke a dispatch method |
Inheritance
| Class | Description |
|---|---|
| IDispatch | Dispatch interface |
See also
| Name | Description |
|---|---|
| IUnknown | Basic interface for all COM-based interfaces |