INVOKEKIND

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

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

Elements

  • INVOKE_FUNC
    The member is called using a normal function invocation syntax.
  • INVOKE_PROPERTYGET
    The function is invoked using a normal property-access syntax.
  • INVOKE_PROPERTYPUT
    The function is invoked using a 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 using a 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. For a detailed description of property functions, see Chapter 5, "Dispatch Interface and API Functions." 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

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Oaidl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.