Vcl.CmAdmCtl.TCOMAdminCatalog.GetMultipleComponentsInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetMultipleComponentsInfo(const bstrApplIdOrName: WideString;  var varFileNames: PSafeArray; out varCLSIDS: PSafeArray; out varClassNames: PSafeArray; out varFileFlags: PSafeArray; out varComponentFlags: PSafeArray);

C++

void __fastcall GetMultipleComponentsInfo(const System::WideString bstrApplIdOrName, Winapi::Activex::PSafeArray &varFileNames, /* out */ Winapi::Activex::PSafeArray &varCLSIDS, /* out */ Winapi::Activex::PSafeArray &varClassNames, /* out */ Winapi::Activex::PSafeArray &varFileFlags, /* out */ Winapi::Activex::PSafeArray &varComponentFlags);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.CmAdmCtl.pas
Vcl.CmAdmCtl.hpp
Vcl.CmAdmCtl TCOMAdminCatalog

Description

Returns information about COM+ components found in specified .dll files.

Call GetMultipleComponentsInfo to obtain information on the objects that a specified set of .dll files make available.

bstrApplIdOrName specifes the name or GUID of the application to which the .dll files belong.

varFileNames is an array of WideString values, each of which is the name of a .dll.

varCLSIDS returns an array of CLSIDs for the COM+ components in the specified .dll files.

varClassNames returns an array of class names for the component classes in the specified .dll files.

varFileFlags returns an array of file flags that return information about the specified files. Each entry in the array is built from the following flags:

FlagValue

ComAdminFileFlagLoadable1

ComAdminFileFlagCOM2

COMAdminFileFlagContainsRS4

COMAdminFileFlagContainsComp8

COMAdminFileFlagContainsTLB16

COMAdminFileFlagSelfReg32

COMAdminFileFlagSelfUnReg64

COMAdminFileFlagUnloadableDLL128

COMAdminFileFlagDoesNotExist256

COMAdminFileFlagAlreadyInstalled512

COMAdminFileFlagBadTLB1024

COMAdminFileFlagGetClassObjFailed2048

COMAdminFileFlagClassNotAvailable4096

COMAdminFileFlagRegistrar8192

COMAdminFileFlagNoRegistrar16384

COMAdminFileFlagDLLRegsvrFailed32768

COMAdminFileFlagRegTLBFailed65536

COMAdminFileFlagRegistrarFailed131072

COMAdminFileFlagError262144

varComponentFlags returns an array of file flags that return information about the components in the specified files. Each entry in the array is built from the following flags:

FlagValue

COMAdminComponentFlagTypeInfoFound1

COMAdminComponentCOMPlusPropertiesFound2

COMAdminComponentProxyFound4

COMAdminComponentInterfacesFound8

COMAdminComponentAlreadyInstalled16

COMAdminComponentNotInApplication32

See Also