Enables arbitrary enumerations, structures, and delegate types to be used as property values.
- Available extensions
Constructors
-
IReference.fromPtr(Pointer<
COMObject> ptr, {required String referenceIid, T enumCreator(int)?}) -
Creates an instance of IReference from the given
ptr
andreferenceIid
.factory
Properties
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
cast<
T extends IUnknown> (T creator(Pointer< COMObject> ), String iid) → T -
Available on IUnknown, provided by the IUnknownHelpers extension
Casts this COM object to an interface specified iniid
. -
detach(
) → void -
Detaches the object from the
Finalizer
.inherited -
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
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
-
tryCast<
T extends IUnknown> (T creator(Pointer< COMObject> ), String iid) → T? -
Available on IUnknown, provided by the IUnknownHelpers extension
Tries to cast this COM object to an interface specified iniid
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited