Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Runtime.​InteropServices.​ComTypes.​IRunningObjectTable

Assembly: System.Runtime.InteropServices

Provides the managed definition of the <see langword="IRunningObjectTable" /> interface.

Methods

public void
EnumRunning​(IEnumMoniker& ppenumMoniker)
public int
GetObject​(IMoniker pmkObjectName, Object& ppunkObject)
public int
GetTimeOfLastChange​(IMoniker pmkObjectName, FILETIME& pfiletime)
public int
IsRunning​(IMoniker pmkObjectName)
pmkObjectName A reference to the moniker to search for in the Running Object Table (ROT).
Returns An <see langword="HRESULT" /> value that indicates the success or failure of the operation.
Determines whether the specified moniker is currently registered in the Running Object Table (ROT).
public void
NoteChangeTime​(int dwRegister, FILETIME& pfiletime)
public int
Register​(int grfFlags, object punkObject, IMoniker pmkObjectName)
grfFlags Specifies whether the Running Object Table's (ROT) reference to <paramref name="punkObject" /> is weak or strong, and controls access to the object through its entry in the ROT.
punkObject A reference to the object being registered as running.
pmkObjectName A reference to the moniker that identifies <paramref name="punkObject" /> .
Returns A value that can be used to identify this ROT entry in subsequent calls to <see cref="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.Revoke(System.Int32)" /> or <see cref="M:System.Runtime.InteropServices.ComTypes.IRunningObjectTable.NoteChangeTime(System.Int32,System.Runtime.InteropServices.ComTypes.FILETIME@)" /> .
Registers that the supplied object has entered the running state.
public void
Revoke​(int dwRegister)
dwRegister The Running Object Table (ROT) entry to revoke.
Unregisters the specified object from the Running Object Table (ROT).