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
IID
Fields 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, Release
Methods inherited from class com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:IRunningObjectTable
Registers 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:
Register
in interfaceIRunningObjectTable
- See Also:
-
Revoke
Description copied from interface:IRunningObjectTable
Removes 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:
Revoke
in interfaceIRunningObjectTable
- See Also:
-
IsRunning
Description copied from interface:IRunningObjectTable
Determines whether the object identified by the specified moniker is currently running.HRESULT IsRunning( [in] IMoniker *pmkObjectName );
- Specified by:
IsRunning
in interfaceIRunningObjectTable
- See Also:
-
GetObject
Description copied from interface:IRunningObjectTable
Determines 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:
GetObject
in interfaceIRunningObjectTable
- See Also:
-
NoteChangeTime
Description copied from interface:IRunningObjectTable
Records the time that a running object was last modified.HRESULT NoteChangeTime( [in] DWORD dwRegister, [in] FILETIME *pfiletime );
- Specified by:
NoteChangeTime
in interfaceIRunningObjectTable
- See Also:
-
GetTimeOfLastChange
public WinNT.HRESULT GetTimeOfLastChange(Pointer pmkObjectName, WinBase.FILETIME.ByReference pfiletime) Description copied from interface:IRunningObjectTable
Retrieves the time that an object was last modified.HRESULT GetTimeOfLastChange( [in] IMoniker *pmkObjectName, [out] FILETIME *pfiletime );
- Specified by:
GetTimeOfLastChange
in interfaceIRunningObjectTable
- See Also:
-
EnumRunning
Description copied from interface:IRunningObjectTable
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).HRESULT EnumRunning( [out] IEnumMoniker **ppenumMoniker );
- Specified by:
EnumRunning
in interfaceIRunningObjectTable
- See Also:
-