Share via


UiaNodeFromProvider Function

Note  This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.

Retrieves the UI Automation node for a raw element provider.

Syntax

HRESULT UiaNodeFromProvider(      
    IRawElementProviderSimple *pProvider,
    HUIANODE *phnode
);

Parameters

  • pProvider
    [in] The address of the IRawElementProviderSimple interface of the provider.
  • phnode
    [out] The address of a variable that receives the UI Automation node for the raw element provider. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful or an error value otherwise.

Function Information

Stock Implementation uiautomationcore.dll
Custom Implementation No
Header uiautomationcoreapi.h
Import library uiautomationcore.lib
Minimum operating systems Windows XP