CorLaunchApplication Function

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

This function has been deprecated in the .NET Framework 4.

Syntax

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 System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also