IMoniker class com Interface

Enables you to use a moniker object, which contains information that uniquely identifies a COM object. An object that has a pointer to the moniker object's IMoniker interface can locate, activate, and get access to the identified object without having any other specific information on where the object is actually located in a distributed system. Monikers are used as the basis for linking in COM. A linked object contains a moniker that identifies its source. When the user activates the linked object to edit it, the moniker is bound; this loads the link source into memory.

Inheritance

Constructors

IMoniker(Pointer<COMObject> ptr)
IMoniker.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
inherited
bindToObject(Pointer<COMObject> pbc, Pointer<COMObject> pmkToLeft, Pointer<GUID> riidResult, Pointer<Pointer<NativeType>> ppvResult) int
bindToStorage(Pointer<COMObject> pbc, Pointer<COMObject> pmkToLeft, Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObj) int
commonPrefixWith(Pointer<COMObject> pmkOther, Pointer<Pointer<COMObject>> ppmkPrefix) int
composeWith(Pointer<COMObject> pmkRight, int fOnlyIfNotGeneric, Pointer<Pointer<COMObject>> ppmkComposite) int
enum_(int fForward, Pointer<Pointer<COMObject>> ppenumMoniker) int
getClassID(Pointer<GUID> pClassID) int
inherited
getDisplayName(Pointer<COMObject> pbc, Pointer<COMObject> pmkToLeft, Pointer<Pointer<Utf16>> ppszDisplayName) int
getSizeMax(Pointer<Uint64> pcbSize) int
inherited
getTimeOfLastChange(Pointer<COMObject> pbc, Pointer<COMObject> pmkToLeft, Pointer<FILETIME> pFileTime) int
hash(Pointer<Uint32> pdwHash) int
Creates a combined hash code for a number of objects.
override
inverse(Pointer<Pointer<COMObject>> ppmk) int
isDirty() int
inherited
isEqual(Pointer<COMObject> pmkOtherMoniker) int
isRunning(Pointer<COMObject> pbc, Pointer<COMObject> pmkToLeft, Pointer<COMObject> pmkNewlyRunning) int
isSystemMoniker(Pointer<Uint32> pdwMksys) int
load(Pointer<COMObject> pStm) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseDisplayName(Pointer<COMObject> pbc, Pointer<COMObject> pmkToLeft, Pointer<Utf16> pszDisplayName, Pointer<Uint32> pchEaten, Pointer<Pointer<COMObject>> ppmkOut) int
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
inherited
reduce(Pointer<COMObject> pbc, int dwReduceHowFar, Pointer<Pointer<COMObject>> ppmkToLeft, Pointer<Pointer<COMObject>> ppmkReduced) int
relativePathTo(Pointer<COMObject> pmkOther, Pointer<Pointer<COMObject>> ppmkRelPath) int
release() int
inherited
save(Pointer<COMObject> pStm, int fClearDirty) int
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited