mscorlib(4.0.0.0) API with additions
IRunningObjectTable.cs
2 {
4  [ComImport]
5  [Guid("00000010-0000-0000-C000-000000000046")]
6  [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
7  [__DynamicallyInvokable]
8  public interface IRunningObjectTable
9  {
15  [__DynamicallyInvokable]
16  int Register(int grfFlags, [MarshalAs(UnmanagedType.Interface)] object punkObject, IMoniker pmkObjectName);
17 
20  [__DynamicallyInvokable]
21  void Revoke(int dwRegister);
22 
26  [PreserveSig]
27  [__DynamicallyInvokable]
28  int IsRunning(IMoniker pmkObjectName);
29 
34  [PreserveSig]
35  [__DynamicallyInvokable]
36  int GetObject(IMoniker pmkObjectName, [MarshalAs(UnmanagedType.Interface)] out object ppunkObject);
37 
41  [__DynamicallyInvokable]
42  void NoteChangeTime(int dwRegister, ref FILETIME pfiletime);
43 
48  [PreserveSig]
49  [__DynamicallyInvokable]
50  int GetTimeOfLastChange(IMoniker pmkObjectName, out FILETIME pfiletime);
51 
54  [__DynamicallyInvokable]
55  void EnumRunning(out IEnumMoniker ppenumMoniker);
56  }
57 }
void EnumRunning(out IEnumMoniker ppenumMoniker)
Enumerates the objects currently registered as running.
int GetObject(IMoniker pmkObjectName, [MarshalAs(UnmanagedType.Interface)] out object ppunkObject)
Returns the registered object if the supplied object name is registered as running.
void Revoke(int dwRegister)
Unregisters the specified object from the Running Object Table (ROT).
int IsRunning(IMoniker pmkObjectName)
Determines whether the specified moniker is currently registered in the Running Object Table (ROT).
Manages the definition of the IEnumMoniker interface.
Definition: IEnumMoniker.cs:8
UnmanagedType
Identifies how to marshal parameters or fields to unmanaged code.
Definition: UnmanagedType.cs:7
int Register(int grfFlags, [MarshalAs(UnmanagedType.Interface)] object punkObject, IMoniker pmkObjectName)
Registers that the supplied object has entered the running state.
Provides the managed definition of the IMoniker interface, with COM functionality from IPersist and I...
Definition: IMoniker.cs:8
int GetTimeOfLastChange(IMoniker pmkObjectName, out FILETIME pfiletime)
Searches for this moniker in the Running Object Table (ROT) and reports the recorded time of change,...
Provides the managed definition of the IRunningObjectTable interface.
ComInterfaceType
Identifies how to expose an interface to COM.
Represents the number of 100-nanosecond intervals since January 1, 1601. This structure is a 64-bit v...
Definition: FILETIME.cs:5
void NoteChangeTime(int dwRegister, ref FILETIME pfiletime)
Notes the time that a particular object changed so IMoniker::GetTimeOfLastChange can report an approp...