| 209 | } |
| 210 | |
| 211 | STDMETHODIMP OpAutomation::FindWindowByProcessId(LONG process_id, BSTR class_name, BSTR title, LONGLONG *rethwnd) { |
| 212 | LONG_PTR hwnd = 0; |
| 213 | obj.FindWindowByProcessId(process_id, class_name, title, &hwnd); |
| 214 | return SetOutValue(rethwnd, hwnd); |
| 215 | } |
| 216 | |
| 217 | STDMETHODIMP OpAutomation::FindWindowEx(LONGLONG parent, BSTR class_name, BSTR title, LONGLONG *rethwnd) { |
| 218 | LONG_PTR hwnd = 0; |
no test coverage detected