Share via


IUIAutomationElement::CachedProcessId Property

Retrieves the cached ID of the process that hosts the element.

Syntax

HRESULT IUIAutomationElement::get_CachedProcessId(int *retVal);

Parameters

  • retVal
    The address of a variable that receives the value of the cached property.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_ProcessIdPropertyId, IUIAutomationElement, IUIAutomationElement::CurrentProcessId