FromHandle

Retrieves a new AutomationElement for the UI item referenced by the specified window handle.

EndPointObject.FromHandle

Retrieves a new AutomationElement for the UI item referenced by the specified window handle.