IMoniker.IsRunning(IBindCtx, IMoniker, IMoniker) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Determina si el objeto identificado por el moniker actual está cargado y en ejecución.
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
Parámetros
- pbc
- IBindCtx
Referencia al contexto de enlace que se va a usar en esta operación de enlace.
- pmkToLeft
- IMoniker
Referencia al moniker a la izquierda del moniker actual si el moniker actual forma parte de un compuesto.
- pmkNewlyRunning
- IMoniker
Referencia al moniker que se ha agregado más recientemente a la tabla de objetos en ejecución (ROT).
Devoluciones
Valor S_OKHRESULT si el moniker se está ejecutando; un S_FALSEHRESULT valor si el moniker no se está ejecutando; o un E_UNEXPECTEDHRESULT valor.
Comentarios
Para obtener más información, vea Método IMoniker::IsRunning.