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

Method GetWindowProcessPath

libop/com/OpAutomation.cpp:304–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304STDMETHODIMP OpAutomation::GetWindowProcessPath(LONGLONG hwnd, BSTR *retstring) {
305 wstring s;
306 obj.GetWindowProcessPath(static_cast<LONG_PTR>(hwnd), s);
307
308 CComBSTR newbstr;
309 newbstr.Append(s.data());
310 newbstr.CopyTo(retstring);
311 return S_OK;
312}
313
314STDMETHODIMP OpAutomation::GetWindowRect(LONGLONG hwnd, VARIANT *x1, VARIANT *y1, VARIANT *x2, VARIANT *y2, LONG *nret) {
315 x1->vt = VT_I4;

Callers 1

OpGetWindowProcessPathFunction · 0.45

Calls 2

CopyToMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected