Partilhar 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 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0

See Also

Other Resources

Hosting Global Static Functions