Share via


UiaHUiaNodeFromVariant Function

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

Gets an HUIANODE from a VARIANT type.

Syntax

HRESULT UiaHUiaNodeFromVariant(      
    VARIANT *par,
    HUIANODE *phnode
);

Parameters

  • par
    [in] The address of a VARIANT that contains the node.
  • phnode
    [out] The address of a variable that receives the HUIANODE. 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