Partager via


IObjectInfoEx interface (Industry 8.1)

7/8/2014

Review the inheritance hierarchy and members of the IObjectInfoEx API in Windows Embedded 8.1 Industry (Industry 8.1).

This interface contains information about the window or dialog box that Dialog Filter is filtering and also can perform actions on the windows, such as closing the window. You have the option of implanting this interface or using the default implementation in your custom filter.

The default implementation supplied by the Dialog Filter service uses UIAutomation to obtain actions from the window (buttons) and provides a method for performing them (clicking).

If you want to write your own method of locating windows and performing actions, you must implement IObjectInfo.

Topic

Description

IObjectInfoEx interface properties

Describes the properties of the IObjectInfoEx interface.

IObjectInfoEx interface methods

Describes the methods of the IObjectInfoEx interface.

Inheritance hierarchy

  • IUnknown
    • IObjectInfo

Members

The following tables list the methods, properties, and structures that belong to this interface.

Methods

Method

Description

CallAction

Performs the specified action on the window.

ReadWindowContents

Performs the complex task of enumerating controls in a window. The default implementation uses UIAutomation to obtain all the buttons.

SetWindowInfo

Initializes the values of an IObjectInfoEx instance.

SetCurFilterResult

Stores the action result from CheckWindow.

GetPrevFilterResult

Gets the previously stored action result.

GetContentInfo

Gets information about the top-level controls in a window.

Properties

Property

Description

Action

A zero-indexed array of strings. The default implementation fills in actions as buttons, which are used in filtering as well as performing actions. Buttons on the title bar, including Maximize, Minimize, and Close, will be included in this list. Custom implementations can also perform other complex and custom tasks besides button clicks.

ActionCount

The number of actions that can be performed.

Handle

The handle (HWND) that the operating system assigned to the window.

ProcessId

The unique identifier of the window's process (also known as a PID) that can be seen in Task Manager.

ProcessName

The name of the process.

WindowClass

A string value used by the programming language and kernel to categorize and group windows by their purpose. It is never visible to the user but can be seen using tools such as Spy++.

WindowTitle

The title of the window.

XPos

Numeric expression that specifies, in twips, the horizontal distance of the left edge of the window from the left edge of the screen. This measurement refers to the position of the window before it is moved off the screen.

YPos

Numeric expression that specifies, in twips, the vertical distance of the upper edge of the window from the top of the screen. This measurement refers to the position of the window before it is moved off the screen.

Structures

Structure

Description

ContentInfo

Contains information about the top-level controls in a window.

See Also

Concepts

Dialog Filter API
Dialog Filter