Share via


CorLaunchApplication Function

Starts the application at the specified network path, using the specified manifests and other application data.

HRESULT CorLaunchApplication (
    [in]  HOST_TYPE                dwClickOnceHost,
    [in]  LPCWSTR                  pwzAppFullName,
    [in]  DWORD                    dwManifestPaths,
    [in]  LPCWSTR                 *ppwzManifestPaths,
    [in]  DWORD                    dwActivationData,
    [in]  LPCWSTR                 *ppwzActivationData,
    [out] LPPROCESS_INFORMATION    lpProcessInformation
);

Parameters

  • dwClickOnceHost
    [in] A value of the HOST_TYPE enumeration that specifies the type of host that is launching the application.

  • pwzAppFullName
    [in] The full name of the application that is being launched.

  • dwManifestPaths
    [in] The number of manifest paths for the application.

  • ppwzManifestPaths
    [in] An array of strings, each of which specifies a path to a manifest for the application that is being launched.

  • dwActivationData
    [in] The number of activation data items for the application that is being launched.

  • ppwzActivationData
    [in] An array of strings, each of which is an activation data item for the application that is being launched.

  • lpProcessInformation
    [out] A pointer to information about the process in which the application has been loaded.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Hosting Global Static Functions