Editare

Partajați prin


IMoniker.IsRunning(IBindCtx, IMoniker, IMoniker) Method

Definition

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

public:
 int IsRunning(System::Runtime::InteropServices::ComTypes::IBindCtx ^ pbc, System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkToLeft, System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkNewlyRunning);
public int IsRunning (System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker pmkToLeft, System.Runtime.InteropServices.ComTypes.IMoniker pmkNewlyRunning);
public int IsRunning (System.Runtime.InteropServices.ComTypes.IBindCtx pbc, System.Runtime.InteropServices.ComTypes.IMoniker? pmkToLeft, System.Runtime.InteropServices.ComTypes.IMoniker? pmkNewlyRunning);
abstract member IsRunning : System.Runtime.InteropServices.ComTypes.IBindCtx * System.Runtime.InteropServices.ComTypes.IMoniker * System.Runtime.InteropServices.ComTypes.IMoniker -> int
Public Function IsRunning (pbc As IBindCtx, pmkToLeft As IMoniker, pmkNewlyRunning As IMoniker) As Integer

Parameters

pbc
IBindCtx

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

pmkToLeft
IMoniker

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

pmkNewlyRunning
IMoniker

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

Returns

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

Remarks

For more information, see IMoniker::IsRunning method.

Applies to