ITypeInfo::Invoke
lpvInstance, memid, wFlags, pdispparams, pvargResult, pexcepinfo, puArgErr)VOID FAR* lpvInstance
MEMBERID memid
unsigned short wFlags
DISPPARAMS FAR* pdispparams
VARIANT FAR* pvargResult
EXCEPINFO FAR* pexcepinfo
unsigned int FAR* puArgErr Invokes a method or accesses a property of an object that implements the interface described by the type description. Parameters lpvInstance Pointer to an instance of the interface described by this type description. memid Identifies the interface member. wFlags Flags describing the context of the invoke call, as follows:
Value
| Description
|
DISPATCH_METHOD
| The member was accessed as a method. If there is ambiguity, both this and the
DISPATCH_PROPERTYGET flag may be set.
|
DISPATCH_PROPERTYGET
| The member is being retrieved as a property or data member.
|
DISPATCH_PROPERTYPUT
| The member is being changed as a property or data member.
|
DISPATCH_PROPERTYPUTREF
| The member is being changed by using a reference assignment, rather than a
value assignment. This value is only valid when the property accepts a reference
to an object.
|
SCODE
| Meaning
|
S_OK
| Success.
|
E_INVALIDARG
| One or more of the arguments is invalid.
|
DISP_E_EXCEPTION
| The member being invoked has returned an error HRESULT. If the member
implements IErrorInfo, details are available in the error object. Otherwise, the pexcepinfo parameter contains details.
|
TYPE_E_IOERROR
| The function could not read from the file.
|
TYPE_E_INVDATAREAD
| The function could not read from the file.
|
TYPE_E_UNSUPFORMAT
| The type library has an old format.
|
TYPE_E_REGISTRYACCESS
| There was an error accessing the system registration database.
|
TYPE_E_LIBNOTREGISTERED
| The type library was not found in the system registration database.
|
TYPE_E_INVALIDSTATE
| The type library could not be opened.
|
TYPE_E_WRONGTYPEKIND
| Type mismatch.
|
TYPE_E_ELEMENTNOTFOUND
| The element was not found.
|
TYPE_E_BADMODULEKIND
| The module does not support Invoke.
|
Other returns
| Any of the IDispatch::Invoke errors may also be returned.
|
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers - More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples - Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database