IUIAutomationWindowPattern::CurrentWindowVisualState Property
Retrieves the visual state of the window; that is, whether it is in the normal, maximized, or minimized state.
Syntax
HRESULT IUIAutomationWindowPattern::get_CurrentWindowVisualState(WindowVisualState *retVal);
Parameters
- retVal
The address of a variable that receives a value from the WindowVisualState enumerated type indicating the visual state of the window.
Return Value
Returns S_OK if successful, or an error value otherwise.