Windows apps
Collapse the table of content
Expand the table of content

IRunningObjectTable Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides the managed definition of the IRunningObjectTable interface.

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

[GuidAttribute("00000010-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRunningObjectTable

NameDescription
System_CAPS_pubmethodEnumRunning(IEnumMoniker)

Enumerates the objects currently registered as running.

System_CAPS_pubmethodGetObject(IMoniker, Object)

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

System_CAPS_pubmethodGetTimeOfLastChange(IMoniker, FILETIME)

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

System_CAPS_pubmethodIsRunning(IMoniker)

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

System_CAPS_pubmethodNoteChangeTime(Int32, FILETIME)

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

System_CAPS_pubmethodRegister(Int32, Object, IMoniker)

Registers that the supplied object has entered the running state.

System_CAPS_pubmethodRevoke(Int32)

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

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

For more information, see the documentation for the COM IRunningObjectTable interface in the MSDN library.

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.

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:
© 2017 Microsoft