Share via


IWindowProvider::CanMaximize Property

Gets a value that specifies whether the window can be maximized.

Syntax

HRESULT IWindowProvider::get_CanMaximize(BOOL *pRetVal);

Parameters

  • pRetVal
    The address of a variable that receives TRUE if the window can be maximized; 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, IWindowProvider::CanMinimize