HSWITCH Switch_handle = WinHSWITCHFromHAPP (WinHAPPFromPID (Process_id));