MCPcopy Create free account
hub / github.com/WallBreaker2/op / FetchWords

Method FetchWords

libop/com/OpAutomation.cpp:1108–1116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106}
1107
1108STDMETHODIMP OpAutomation::FetchWords(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, BSTR words,
1109 LONG min_word_h, BSTR *ret_str) {
1110 if (!ret_str)
1111 return E_POINTER;
1112
1113 wstring s;
1114 obj.FetchWords(x1, y1, x2, y2, color, sim, words, min_word_h, s);
1115 return CopyOutBstr(ret_str, s);
1116}
1117
1118STDMETHODIMP OpAutomation::FetchWordsEx(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, DOUBLE sim, BSTR words,
1119 LONG min_word_w, LONG min_word_h, LONG padding, BSTR *ret_str) {

Callers 1

OpFetchWordsFunction · 0.45

Calls 1

CopyOutBstrFunction · 0.85

Tested by

no test coverage detected