IUIAutomationWindowPattern::Close Method

Closes the window.

Syntax

HRESULT Close(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

When called on a split pane control, this method closes the pane and removes the associated split. This method may also close all other panes, depending on implementation.