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

Method GetCmdStr

libop/com/OpAutomation.cpp:423–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423STDMETHODIMP OpAutomation::GetCmdStr(BSTR cmd, LONG millseconds, BSTR *retstr) {
424 wstring s;
425 obj.GetCmdStr(cmd, millseconds, s);
426
427 CComBSTR newstr;
428
429 auto hr = newstr.Append(s.data());
430 hr = newstr.CopyTo(retstr);
431 return hr;
432}
433
434STDMETHODIMP OpAutomation::SetClipboard(BSTR str, LONG *ret) {
435 obj.SetClipboard(str, ret);

Callers 1

OpGetCmdStrFunction · 0.45

Calls 2

CopyToMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected