IWindowProvider Interface

Exposes methods and properties to support UI Automation client access to controls that provide fundamental window-based functionality within a traditional graphical user interface (GUI).

IWindowProvider Members

CanMaximize Gets a value that specifies whether the window can be maximized.
CanMinimize Gets a value that specifies whether the window can be minimized.
Close Attempts to close the window.
IsModal Gets a value that specifies whether the window is modal.
IsTopmost Gets a value that specifies whether the window is the topmost element in the z-order.
SetVisualState Changes the visual state of the window. For example, minimizes or maximizes it.
WaitForInputIdle Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first.
WindowInteractionState Gets the interaction state of the window.
WindowVisualState Gets the visual state of the window.

Remarks

Implemented on a UI Automation provider that must support the WindowPattern control pattern.

Interface Information

Inherits from IUnknown
Header and IDL files uiautomation.h, uiautomationcore.idl
Minimum operating systems Windows XP

See Also

UI Automation Providers Overview