IMoniker::IsRunning Method (IBindCtx^, IMoniker^, IMoniker^)

 

Determines whether the object that is identified by the current moniker is currently loaded and running.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

int IsRunning(
	IBindCtx^ pbc,
	IMoniker^ pmkToLeft,
	IMoniker^ pmkNewlyRunning
)

Parameters

pbc
Type: System.Runtime.InteropServices.ComTypes::IBindCtx^

A reference to the bind context to use in this binding operation.

pmkToLeft
Type: System.Runtime.InteropServices.ComTypes::IMoniker^

A reference to the moniker to the left of the current moniker if the current moniker is part of a composite.

pmkNewlyRunning
Type: System.Runtime.InteropServices.ComTypes::IMoniker^

A reference to the moniker most recently added to the Running Object Table (ROT).

Return Value

Type: System::Int32

An S_OKHRESULT value if the moniker is running; an S_FALSEHRESULT value if the moniker is not running; or an E_UNEXPECTEDHRESULT value.

For more information about IMoniker::IsRunning, see the MSDN Library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: