ICLRRuntimeHost3::IsStarted Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Indicates if a runtime has been started by a call to one of the following methods: ICLRRuntimeInfo3::StartWithFlags, ICLRRuntimeHost::Start, or ICorRuntimeHost::Start.

HRESULT IsStarted(
[out] BOOL *pbStarted,
[out] STARTUP_FLAGS *pdwStartupFlags);

Parameters

  • pbStarted
    [out] true if a runtime was loaded; otherwise, false.

  • pdwStartupFlags
    [out] One of the members of the STARTUP_FLAGS enumeration that specifies the startup behavior of the runtime.

Return Value

This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.

HRESULT

Description

S_OK

The method completed successfully.

E_POINTER

pbStarted is null.

Remarks

This method must interact consistently with all methods that start and stop the common language runtime (CLR).

Requirements

Platforms: See .NET Framework System Requirements.

Header: MetaHost.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4

See Also

Reference

ICLRRuntimeHost3 Interface

Other Resources

.NET Framework 4 Hosting Interfaces

Hosting Interfaces

Hosting Changes in the .NET Framework 4

Hosting (Unmanaged API Reference)