IWindowProvider interface

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


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


The IWindowProvider interface has these methods.

Method Description
IWindowProvider::Close Attempts to close the window.
IWindowProvider::get_CanMaximize Indicates whether the window can be maximized.
IWindowProvider::get_CanMinimize Indicates whether the window can be minimized.
IWindowProvider::get_IsModal Indicates whether the window is modal.
IWindowProvider::get_IsTopmost Indicates whether the window is the topmost element in the z-order.
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.


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


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