| 1314 | } |
| 1315 | |
| 1316 | STDMETHODIMP OpAutomation::FindLine(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, BSTR *retstr) { |
| 1317 | wstring s; |
| 1318 | obj.FindLine(x1, y1, x2, y2, color, sim, s); |
| 1319 | |
| 1320 | CComBSTR newstr; |
| 1321 | newstr.Append(s.data()); |
| 1322 | newstr.CopyTo(retstr); |
| 1323 | return S_OK; |
| 1324 | } |
| 1325 | |
| 1326 | STDMETHODIMP OpAutomation::SetOcrEngine(BSTR path_of_engine, BSTR dll_name, BSTR argv, LONG *ret) { |
| 1327 | return SetOutValue(ret, obj.SetOcrEngine(path_of_engine, dll_name, argv)); |
no test coverage detected