UIAutomationMethodInfo Structure

Contains information about a method.

Syntax

typedef struct {
    LPCWSTR pProgrammaticName;
    BOOL doSetFocus;
    UINT cInParameters;
    UINT cOutParameters;
    UIAutomationType *pParameterTypes;
    LPCWSTR *pParameterNames;
} UIAutomationMethodInfo;

Members

  • pProgrammaticName
    The name of the method (a non-localizable string).
  • doSetFocus
    TRUE if Microsoft UI Automation should set the focus on the object before calling the method; otherwise FALSE.
  • cInParameters
    The count of [in] parameters, which are always first in the pParameterTypes array.
  • cOutParameters
    The count of [out] parameters, which always follow the [in] parameters in the pParameterTypes array.
  • pParameterTypes
    The address of an array of values from the UIAutomationType enumerated type indicating the data types of the parameters of the method. The data types of the In parameters should be first, followed by those of the Out parameters.
  • pParameterNames
    The address of an array containing the parameter names (non-localizable strings).

Structure Information

Header uiautomationcore.h
Minimum operating systems Windows 7

See Also

UIAutomationPatternInfo