IWindowProvider interface
Provides access to the fundamental window-based functionality of a control.
Members
The IWindowProvider interface inherits from the IUnknown interface. IWindowProvider also has these types of members:
Methods
The IWindowProvider interface has these methods.
| Method | Description |
|---|---|
| Close |
Attempts to close the window. |
| 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. |
Properties
The IWindowProvider interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Indicates whether the window can be maximized. | |
|
Read-only |
Indicates whether the window can be minimized. | |
|
Read-only |
Indicates whether the window is modal. | |
|
Read-only |
Indicates whether the window is the topmost element in the z-order. | |
|
Read-only |
Specifies the current state of the window for the purposes of user interaction. | |
|
Read-only |
Specifies the visual state of the window; that is, whether the window is normal (restored), minimized, or maximized. |
Remarks
Implemented on a Microsoft UI Automation provider that must support the Window control pattern.
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IWindowProvider is defined as 987df77b-db06-4d77-8f8a-86a9c3bb90b9 |
See also