Index   Commented   Search   About

INVOKEKIND

The INVOKEKIND enumeration is defined as follows:

typedef enum tagINVOKEKIND {

INVOKE_FUNC = DISPATCH_METHOD,

INVOKE_PROPERTYGET = DISPATCH_PROPERTYGET,

INVOKE_PROPERTYPUT = DISPATCH_PROPERTYPUT,

INVOKE_PROPERTYPUTREF = DISPATCH_PROPERTYPUTREF

} INVOKEKIND;

Value
Description
INVOKE_FUNC
The member is called using normal function invocation syntax.
INVOKE_PROPERTYGET
The function is invoked by using normal property access syntax.
INVOKE_PROPERTYPUT
The function is invoked by using property value assignment syntax. Syntactically, a typical programming language might represent changing a property in the same way as assignment; for example:
object.property := value.
INVOKE_PROPERTYPUTREF
The function is invoked by using property reference assignment syntax.

Note that in C, value assignment is written as *pobj1 = *pobj2, while reference assignment is written as pobj1 = pobj2. Other languages have other syntactic conventions. A property or data member may support value assignment only, reference assignment only, or both. For a more detailed description of property functions, see Chapter 5, "Dispatch Interfaces." These enumeration constants are the same constants that are passed to IDispatch::Invoke to specify the way in which a function is invoked.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun