Share via


IUIAutomationWindowPattern::CurrentIsTopmost Property

Retrieves a value that specifies whether the window is the topmost element in the z-order.

Syntax

HRESULT IUIAutomationWindowPattern::get_CurrentIsTopmost(BOOL *retVal);

Parameters

  • retVal
    The address of a variable that receives the value of the property: TRUE if the window is topmost, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.