Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Installs components from multiple files into a COM+ application.
Syntax
HRESULT InstallMultipleComponents(
[in] BSTR bstrApplIDOrName,
[in] SAFEARRAY **ppsaVarFileNames,
[in] SAFEARRAY **ppsaVarCLSIDs
);
Parameters
[in] bstrApplIDOrName
The GUID or name of the application.
[in] ppsaVarFileNames
An array of the names of the DLL files that contains the components to be installed.
[in] ppsaVarCLSIDs
An array of CLSIDs for the components to be installed.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
Errors occurred while accessing one or more objects. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | comadmin.h |