| 215 | } |
| 216 | |
| 217 | STDMETHODIMP OpAutomation::FindWindowEx(LONGLONG parent, BSTR class_name, BSTR title, LONGLONG *rethwnd) { |
| 218 | LONG_PTR hwnd = 0; |
| 219 | obj.FindWindowEx(static_cast<LONG_PTR>(parent), class_name, title, &hwnd); |
| 220 | return SetOutValue(rethwnd, hwnd); |
| 221 | } |
| 222 | |
| 223 | STDMETHODIMP OpAutomation::GetClientRect(LONGLONG hwnd, VARIANT *x1, VARIANT *y1, VARIANT *x2, VARIANT *y2, LONG *nret) { |
| 224 | x1->vt = VT_I4; |
no test coverage detected