IUIAutomationElement::CurrentFrameworkId Property

Retrieves the name of the underlying UI framework.

Syntax

HRESULT IUIAutomationElement::get_CurrentFrameworkId(BSTR *retVal);

Parameters

  • retVal
    The address of a BSTR that receives the name of the UI framework, such as "Win32", "WinForm", or "DirectUI".

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_FrameworkIdPropertyId, IUIAutomationElement, IUIAutomationElement::CachedFrameworkId