IMoniker.IsRunning(IBindCtx, IMoniker, IMoniker) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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_OK
HRESULT
value if the moniker is running; an S_FALSE
HRESULT
value if the moniker is not running; or an E_UNEXPECTED
HRESULT
value.
Remarks
For more information, see IMoniker::IsRunning method.