UiaNodeFromHandle Function
Note This function is deprecated. Client applications should use the Microsoft UI Automation COM interfaces instead.
Retrieves the UI Automation node associated with a window.
Syntax
HRESULT UiaNodeFromHandle( HWND hwnd, HUIANODE *phnode );
Parameters
- hwnd
[in] The handle of the window.- phnode
[out] The address of a variable that receives the handle of the node. 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