Sign in Join
FPDoc Onlineexperiment

IVCLComObject.GetTypeInfo function

Member of IVCLComObjectIn unit Classes

The IDispatch:GetTypeInfo call for automation servers.

Declaration

pascal
function GetTypeInfo(Index: Integer; LocaleID: Integer; out TypeInfo)
: HRESULT

Description

GetTypeInfo must return the Index-th entry in the type information of the component in TypeInfo. The LocaleID argument can be used to indicate the locale of the caller, as different type information can be returned depending on the locale.

Errors

On error, a nonzero (different from S_OK) return value must be returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.