| 264 | } |
| 265 | |
| 266 | STDMETHODIMP OpAutomation::GetProcessInfo(LONG pid, BSTR *retstring) { |
| 267 | wstring s; |
| 268 | obj.GetProcessInfo(pid, s); |
| 269 | |
| 270 | CComBSTR newbstr; |
| 271 | newbstr.Append(s.data()); |
| 272 | newbstr.CopyTo(retstring); |
| 273 | return S_OK; |
| 274 | } |
| 275 | |
| 276 | STDMETHODIMP OpAutomation::GetSpecialWindow(LONG flag, LONGLONG *rethwnd) { |
| 277 | LONG_PTR hwnd = 0; |
no test coverage detected