IErrorInfo class com
IErrorInfo is defined by Automation; the following describes how the interface is used in OLE DB. IErrorInfo returns information about an error in addition to the return code. It returns the error message, name of the component and GUID of the interface in which the error occurred, and the name and topic of the Help file that applies to the error.
Constructors
-
IErrorInfo(Pointer<
COMObject> ptr) - IErrorInfo.from(IUnknown interface)
-
factory
Properties
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
detach(
) → void -
Detaches the object from the
Finalizer
.inherited -
getDescription(
Pointer< Pointer< pBstrDescription) → intUtf16> > -
getGUID(
Pointer< GUID> pGUID) → int -
getHelpContext(
Pointer< Uint32> pdwHelpContext) → int -
getHelpFile(
Pointer< Pointer< pBstrHelpFile) → intUtf16> > -
getSource(
Pointer< Pointer< pBstrSource) → intUtf16> > -
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited