| 302 | } |
| 303 | |
| 304 | STDMETHODIMP OpAutomation::GetWindowProcessPath(LONGLONG hwnd, BSTR *retstring) { |
| 305 | wstring s; |
| 306 | obj.GetWindowProcessPath(static_cast<LONG_PTR>(hwnd), s); |
| 307 | |
| 308 | CComBSTR newbstr; |
| 309 | newbstr.Append(s.data()); |
| 310 | newbstr.CopyTo(retstring); |
| 311 | return S_OK; |
| 312 | } |
| 313 | |
| 314 | STDMETHODIMP OpAutomation::GetWindowRect(LONGLONG hwnd, VARIANT *x1, VARIANT *y1, VARIANT *x2, VARIANT *y2, LONG *nret) { |
| 315 | x1->vt = VT_I4; |
no test coverage detected