Share via


IUIAutomationWindowPattern::CachedCanMaximize Property

Retrieves a cached value that specifies whether the window can be maximized.

Syntax

HRESULT IUIAutomationWindowPattern::get_CachedCanMaximize(BOOL *retVal);

Parameters

  • retVal
    The address of a variable that receives the value of the cached property: TRUE if the window can be maximized, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.