Share via


IWindowProvider::IsTopmost Property

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

Syntax

HRESULT IWindowProvider::get_IsTopmost(BOOL *pRetVal);

Parameters

  • pRetVal
    The address of a variable that receives TRUE if the window is topmost; otherwise FALSE. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UI Automation Providers Overview