Edit

Share via


IWindowProvider interface (uiautomationcore.h)

Provides access to the fundamental window-based functionality of a control.

Inheritance

The IWindowProvider interface inherits from the IUnknown interface. IWindowProvider also has these types of members:

Methods

The IWindowProvider interface has these methods.

 
IWindowProvider::Close

Attempts to close the window.
IWindowProvider::get_CanMaximize

Indicates whether the window can be maximized. (IWindowProvider.get_CanMaximize)
IWindowProvider::get_CanMinimize

Indicates whether the window can be minimized. (IWindowProvider.get_CanMinimize)
IWindowProvider::get_IsModal

Indicates whether the window is modal. (IWindowProvider.get_IsModal)
IWindowProvider::get_IsTopmost

Indicates whether the window is the topmost element in the z-order. (IWindowProvider.get_IsTopmost)
IWindowProvider::get_WindowInteractionState

Specifies the current state of the window for the purposes of user interaction.
IWindowProvider::get_WindowVisualState

Specifies the visual state of the window; that is, whether the window is normal (restored), minimized, or maximized.
IWindowProvider::SetVisualState

Changes the visual state of the window. For example, minimizes or maximizes it.
IWindowProvider::WaitForInputIdle

Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first. (IWindowProvider.WaitForInputIdle)

Remarks

Implemented on a Microsoft UI Automation provider that must support the Window Control Pattern control pattern.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

UI Automation Providers Overview