| 203 | } |
| 204 | |
| 205 | STDMETHODIMP OpAutomation::FindWindowByProcess(BSTR process_name, BSTR class_name, BSTR title, LONGLONG *rethwnd) { |
| 206 | LONG_PTR hwnd = 0; |
| 207 | obj.FindWindowByProcess(process_name, class_name, title, &hwnd); |
| 208 | return SetOutValue(rethwnd, hwnd); |
| 209 | } |
| 210 | |
| 211 | STDMETHODIMP OpAutomation::FindWindowByProcessId(LONG process_id, BSTR class_name, BSTR title, LONGLONG *rethwnd) { |
| 212 | LONG_PTR hwnd = 0; |
no test coverage detected