Partager via


INVOKEKIND (Windows Embedded CE 6.0)

1/6/2010

This enumeration is used to specify the way in which a function is to be invoked by IDispatch::Invoke.

Syntax

typedef enum tagINVOKEKIND {
  INVOKE_FUNC = DISPATCH_METHOD,
  INVOKE_PROPERTYGET = DISPATCH_PROPERTYGET,
  INVOKE_PROPERTYPUT = DISPATCH_PROPERTYPUT,
  INVOKE_PROPERTYPUTREF = DISPATCH_PROPERTYPUTREF
} INVOKEKIND;

Elements

  • INVOKE_FUNC
    Indicates that the member is called using standard function invocation syntax.
  • INVOKE_PROPERTYGET
    Indicates that the function is invoked using standard property-access syntax.
  • INVOKE_PROPERTYPUT
    Indicates that the function is invoked 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
    Indicates that the function is invoked using property reference assignment syntax.

Remarks

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 can support only a value assignment, a reference assignment, or both. The INVOKEKIND enumeration constants are the same constants that are passed to IDispatch::Invoke to specify the way in which a function is invoked.

Requirements

Header oaidl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Automation Enumerations
IDispatch::Invoke