public class RunningObjectTable extends Unknown implements IRunningObjectTable
| Modifier and Type | Class and Description |
|---|---|
static class |
RunningObjectTable.ByReference |
IIDIID_IUNKNOWN| Constructor and Description |
|---|
RunningObjectTable() |
RunningObjectTable(Pointer pointer) |
| Modifier and Type | Method and Description |
|---|---|
WinNT.HRESULT |
EnumRunning(PointerByReference ppenumMoniker)
Creates and returns a pointer to an enumerator that can list the monikers
of all the objects currently registered in the running object table
(ROT).
|
WinNT.HRESULT |
GetObject(Pointer pmkObjectName,
PointerByReference ppunkObject)
Determines whether the object identified by the specified moniker is
running, and if it is, retrieves a pointer to that object.
|
WinNT.HRESULT |
GetTimeOfLastChange(Pointer pmkObjectName,
WinBase.FILETIME.ByReference pfiletime)
Retrieves the time that an object was last modified.
|
WinNT.HRESULT |
IsRunning(Pointer pmkObjectName)
Determines whether the object identified by the specified moniker is
currently running.
|
WinNT.HRESULT |
NoteChangeTime(WinDef.DWORD dwRegister,
WinBase.FILETIME pfiletime)
Records the time that a running object was last modified.
|
WinNT.HRESULT |
Register(WinDef.DWORD grfFlags,
Pointer punkObject,
Pointer pmkObjectName,
WinDef.DWORDByReference pdwRegister)
Registers an object and its identifying moniker in the running object
table (ROT).
|
WinNT.HRESULT |
Revoke(WinDef.DWORD dwRegister)
Removes an entry from the running object table (ROT) that was previously
registered by a call to IRunningObjectTable.Register.
|
AddRef, QueryInterface, Release_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitAddRef, QueryInterface, Releasepublic RunningObjectTable()
public RunningObjectTable(Pointer pointer)
public WinNT.HRESULT Register(WinDef.DWORD grfFlags, Pointer punkObject, Pointer pmkObjectName, WinDef.DWORDByReference pdwRegister)
IRunningObjectTableHRESULT Register(
[in] DWORD grfFlags,
[in] IUnknown *punkObject,
[in] IMoniker *pmkObjectName,
[out] DWORD *pdwRegister
);
Register in interface IRunningObjectTablepublic WinNT.HRESULT Revoke(WinDef.DWORD dwRegister)
IRunningObjectTableHRESULT Revoke(
[in] DWORD dwRegister
);
Revoke in interface IRunningObjectTablepublic WinNT.HRESULT IsRunning(Pointer pmkObjectName)
IRunningObjectTableHRESULT IsRunning(
[in] IMoniker *pmkObjectName
);
IsRunning in interface IRunningObjectTablepublic WinNT.HRESULT GetObject(Pointer pmkObjectName, PointerByReference ppunkObject)
IRunningObjectTableHRESULT GetObject(
[in] IMoniker *pmkObjectName,
[out] IUnknown **ppunkObject
);
GetObject in interface IRunningObjectTablepublic WinNT.HRESULT NoteChangeTime(WinDef.DWORD dwRegister, WinBase.FILETIME pfiletime)
IRunningObjectTableHRESULT NoteChangeTime(
[in] DWORD dwRegister,
[in] FILETIME *pfiletime
);
NoteChangeTime in interface IRunningObjectTablepublic WinNT.HRESULT GetTimeOfLastChange(Pointer pmkObjectName, WinBase.FILETIME.ByReference pfiletime)
IRunningObjectTableHRESULT GetTimeOfLastChange(
[in] IMoniker *pmkObjectName,
[out] FILETIME *pfiletime
);
GetTimeOfLastChange in interface IRunningObjectTablepublic WinNT.HRESULT EnumRunning(PointerByReference ppenumMoniker)
IRunningObjectTableHRESULT EnumRunning(
[out] IEnumMoniker **ppenumMoniker
);
EnumRunning in interface IRunningObjectTable