Package com.sun.jna.platform.win32.COM
Class RunningObjectTable
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.win32.COM.COMInvoker
com.sun.jna.platform.win32.COM.Unknown
com.sun.jna.platform.win32.COM.RunningObjectTable
- All Implemented Interfaces:
NativeMapped,IRunningObjectTable,IUnknown
- Direct Known Subclasses:
RunningObjectTable.ByReference
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface com.sun.jna.platform.win32.COM.IRunningObjectTable
IIDFields inherited from interface com.sun.jna.platform.win32.COM.IUnknown
IID_IUNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEnumRunning(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).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.GetTimeOfLastChange(Pointer pmkObjectName, WinBase.FILETIME.ByReference pfiletime) Retrieves the time that an object was last modified.Determines whether the object identified by the specified moniker is currently running.NoteChangeTime(WinDef.DWORD dwRegister, WinBase.FILETIME pfiletime) Records the time that a running object was last modified.Register(WinDef.DWORD grfFlags, Pointer punkObject, Pointer pmkObjectName, WinDef.DWORDByReference pdwRegister) Registers an object and its identifying moniker in the running object table (ROT).Revoke(WinDef.DWORD dwRegister) Removes an entry from the running object table (ROT) that was previously registered by a call to IRunningObjectTable.Register.Methods inherited from class com.sun.jna.platform.win32.COM.Unknown
AddRef, QueryInterface, ReleaseMethods inherited from class com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidMethods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.jna.platform.win32.COM.IUnknown
AddRef, QueryInterface, Release
-
Constructor Details
-
RunningObjectTable
public RunningObjectTable() -
RunningObjectTable
-
-
Method Details
-
Register
public WinNT.HRESULT Register(WinDef.DWORD grfFlags, Pointer punkObject, Pointer pmkObjectName, WinDef.DWORDByReference pdwRegister) Description copied from interface:IRunningObjectTableRegisters an object and its identifying moniker in the running object table (ROT).HRESULT Register( [in] DWORD grfFlags, [in] IUnknown *punkObject, [in] IMoniker *pmkObjectName, [out] DWORD *pdwRegister );- Specified by:
Registerin interfaceIRunningObjectTable- See Also:
-
Revoke
Description copied from interface:IRunningObjectTableRemoves an entry from the running object table (ROT) that was previously registered by a call to IRunningObjectTable.Register.HRESULT Revoke( [in] DWORD dwRegister );- Specified by:
Revokein interfaceIRunningObjectTable- See Also:
-
IsRunning
Description copied from interface:IRunningObjectTableDetermines whether the object identified by the specified moniker is currently running.HRESULT IsRunning( [in] IMoniker *pmkObjectName );- Specified by:
IsRunningin interfaceIRunningObjectTable- See Also:
-
GetObject
Description copied from interface:IRunningObjectTableDetermines whether the object identified by the specified moniker is running, and if it is, retrieves a pointer to that object.HRESULT GetObject( [in] IMoniker *pmkObjectName, [out] IUnknown **ppunkObject );- Specified by:
GetObjectin interfaceIRunningObjectTable- See Also:
-
NoteChangeTime
Description copied from interface:IRunningObjectTableRecords the time that a running object was last modified.HRESULT NoteChangeTime( [in] DWORD dwRegister, [in] FILETIME *pfiletime );- Specified by:
NoteChangeTimein interfaceIRunningObjectTable- See Also:
-
GetTimeOfLastChange
public WinNT.HRESULT GetTimeOfLastChange(Pointer pmkObjectName, WinBase.FILETIME.ByReference pfiletime) Description copied from interface:IRunningObjectTableRetrieves the time that an object was last modified.HRESULT GetTimeOfLastChange( [in] IMoniker *pmkObjectName, [out] FILETIME *pfiletime );- Specified by:
GetTimeOfLastChangein interfaceIRunningObjectTable- See Also:
-
EnumRunning
Description copied from interface:IRunningObjectTableCreates and returns a pointer to an enumerator that can list the monikers of all the objects currently registered in the running object table (ROT).HRESULT EnumRunning( [out] IEnumMoniker **ppenumMoniker );- Specified by:
EnumRunningin interfaceIRunningObjectTable- See Also:
-