Package com.sun.jna.platform.win32.COM
Class Moniker
- 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.Moniker
-
- All Implemented Interfaces:
NativeMapped,IMoniker,IPersist,IPersistStream,IUnknown
- Direct Known Subclasses:
Moniker.ByReference
public class Moniker extends Unknown implements IMoniker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMoniker.ByReference
-
Field Summary
Fields Modifier and Type Field Description (package private) static intvTableIdStart-
Fields inherited from interface com.sun.jna.platform.win32.COM.IUnknown
IID_IUNKNOWN
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidBindToObject()Binds to the specified object.voidBindToStorage()voidCommonPrefixWith()voidComposeWith()voidEnum()Guid.CLSIDGetClassID()Retrieves the class identifier (CLSID) of the object.java.lang.StringGetDisplayName(Pointer pbc, Pointer pmkToLeft)Retrieves the display name for the moniker.voidGetSizeMax()Retrieves the size of the stream needed to save the object.voidGetTimeOfLastChange()voidHash()voidInverse()booleanIsDirty()Determines whether an object has changed since it was last saved to its stream.voidIsEqual()voidIsRunning()voidIsSystemMoniker()voidLoad(IStream stm)Initializes an object from the stream where it was saved previously (Unimplemented)voidParseDisplayName()voidReduce()voidRelativePathTo()voidSave(IStream stm)Saves an object to the specified stream.-
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
-
-
-
-
Field Detail
-
vTableIdStart
static final int vTableIdStart
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Moniker
public Moniker()
-
Moniker
public Moniker(Pointer pointer)
-
-
Method Detail
-
BindToObject
public void BindToObject()
Description copied from interface:IMonikerBinds to the specified object. The binding process involves finding the object, putting it into the running state if necessary, and providing the caller with a pointer to a specified interface on the identified object.HRESULT BindToObject( [in] IBindCtx *pbc, [in] IMoniker *pmkToLeft, [in] REFIID riidResult, [out] void **ppvResult );- Specified by:
BindToObjectin interfaceIMoniker- See Also:
- MSDN
-
BindToStorage
public void BindToStorage()
- Specified by:
BindToStoragein interfaceIMoniker
-
ComposeWith
public void ComposeWith()
- Specified by:
ComposeWithin interfaceIMoniker
-
GetTimeOfLastChange
public void GetTimeOfLastChange()
- Specified by:
GetTimeOfLastChangein interfaceIMoniker
-
CommonPrefixWith
public void CommonPrefixWith()
- Specified by:
CommonPrefixWithin interfaceIMoniker
-
RelativePathTo
public void RelativePathTo()
- Specified by:
RelativePathToin interfaceIMoniker
-
GetDisplayName
public java.lang.String GetDisplayName(Pointer pbc, Pointer pmkToLeft)
Description copied from interface:IMonikerRetrieves the display name for the moniker.HRESULT GetDisplayName( [in] IBindCtx *pbc, [in] IMoniker *pmkToLeft, [out] LPOLESTR *ppszDisplayName );- Specified by:
GetDisplayNamein interfaceIMoniker- See Also:
- MSDN
-
ParseDisplayName
public void ParseDisplayName()
- Specified by:
ParseDisplayNamein interfaceIMoniker
-
IsSystemMoniker
public void IsSystemMoniker()
- Specified by:
IsSystemMonikerin interfaceIMoniker
-
IsDirty
public boolean IsDirty()
Description copied from interface:IPersistStreamDetermines whether an object has changed since it was last saved to its stream. (Unimplemented)- Specified by:
IsDirtyin interfaceIPersistStream
-
Load
public void Load(IStream stm)
Description copied from interface:IPersistStreamInitializes an object from the stream where it was saved previously (Unimplemented)- Specified by:
Loadin interfaceIPersistStream
-
Save
public void Save(IStream stm)
Description copied from interface:IPersistStreamSaves an object to the specified stream. (Unimplemented)- Specified by:
Savein interfaceIPersistStream
-
GetSizeMax
public void GetSizeMax()
Description copied from interface:IPersistStreamRetrieves the size of the stream needed to save the object. (Unimplemented)- Specified by:
GetSizeMaxin interfaceIPersistStream
-
GetClassID
public Guid.CLSID GetClassID()
Description copied from interface:IPersistRetrieves the class identifier (CLSID) of the object.HRESULT GetClassID( [out] CLSID *pClassID );MSDN- Specified by:
GetClassIDin interfaceIPersist
-
-