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

Method EnumWindowByProcess

libop/com/OpAutomation.cpp:167–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167STDMETHODIMP OpAutomation::EnumWindowByProcess(BSTR process_name, BSTR title, BSTR class_name, LONG filter,
168 BSTR *retstring) {
169 wstring s;
170 obj.EnumWindowByProcess(process_name, title, class_name, filter, s);
171
172 CComBSTR newbstr;
173 newbstr.Append(s.data());
174 newbstr.CopyTo(retstring);
175 return S_OK;
176}
177
178STDMETHODIMP OpAutomation::EnumProcess(BSTR name, BSTR *retstring) {
179 wstring s;

Callers 1

OpEnumWindowByProcessFunction · 0.45

Calls 2

CopyToMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected