Vcl.OleCtrls.TOleControl.GetIDsOfNames

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetIDsOfNames(const IID: TGUID; Names: Pointer;  NameCount, LocaleID: Integer; DispIDs: Pointer): HResult; stdcall;

C++

HIDESBASE HRESULT __stdcall GetIDsOfNames(const GUID &IID, void * Names, int NameCount, int LocaleID, void * DispIDs);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TOleControl

Description

Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).

Vcl.OleCtrls.TOleControl.GetIDsOfNames inherits from System.Classes.TComponent.GetIDsOfNames. All content below this line refers to System.Classes.TComponent.GetIDsOfNames.

Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).

GetIDsOfNames implements the IDispatch interface GetIDsOfNames method. For components that support interfaces, GetIDsOfNames calls this method for the interface supported by the component, passing the specified parameters. The returned value can be used on subsequent calls to the Invoke method.

See Also