| 286 | } |
| 287 | |
| 288 | STDMETHODIMP OpAutomation::GetWindowClass(LONGLONG hwnd, BSTR *retstring) { |
| 289 | wstring s; |
| 290 | obj.GetWindowClass(static_cast<LONG_PTR>(hwnd), s); |
| 291 | |
| 292 | CComBSTR newbstr; |
| 293 | newbstr.Append(s.data()); |
| 294 | newbstr.CopyTo(retstring); |
| 295 | return S_OK; |
| 296 | } |
| 297 | |
| 298 | STDMETHODIMP OpAutomation::GetWindowProcessId(LONGLONG hwnd, LONG *nretpid) { |
| 299 | obj.GetWindowProcessId(static_cast<LONG_PTR>(hwnd), nretpid); |
no test coverage detected