I want to retrieve the host process of the Windows calculator with the following code:
HANDLE hProcess; int process_Id; POINT pt; ... hr = IUIAutomation_Elem