Редагувати

Поділитися через


IRunningObjectTable Interface

Definition

Provides the managed definition of the IRunningObjectTable interface.

public interface class IRunningObjectTable
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRunningObjectTable
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("00000010-0000-0000-C000-000000000046")]
public interface IRunningObjectTable
public interface IRunningObjectTable
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IRunningObjectTable = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("00000010-0000-0000-C000-000000000046")>]
type IRunningObjectTable = interface
type IRunningObjectTable = interface
Public Interface IRunningObjectTable
Attributes

Remarks

You can retrieve an interface to the running object table by calling the COM GetRunningObjectTable function.

For more information, see IRunningObjectTable interface.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Methods

EnumRunning(IEnumMoniker)

Enumerates the objects currently registered as running.

GetObject(IMoniker, Object)

Returns the registered object if the supplied object name is registered as running.

GetTimeOfLastChange(IMoniker, FILETIME)

Searches for this moniker in the Running Object Table (ROT) and reports the recorded time of change, if present.

IsRunning(IMoniker)

Determines whether the specified moniker is currently registered in the Running Object Table (ROT).

NoteChangeTime(Int32, FILETIME)

Notes the time that a particular object changed so IMoniker::GetTimeOfLastChange can report an appropriate change time.

Register(Int32, Object, IMoniker)

Registers that the supplied object has entered the running state.

Revoke(Int32)

Unregisters the specified object from the Running Object Table (ROT).

Applies to