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

Method FindWindowEx

libop/com/OpAutomation.cpp:217–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217STDMETHODIMP OpAutomation::FindWindowEx(LONGLONG parent, BSTR class_name, BSTR title, LONGLONG *rethwnd) {
218 LONG_PTR hwnd = 0;
219 obj.FindWindowEx(static_cast<LONG_PTR>(parent), class_name, title, &hwnd);
220 return SetOutValue(rethwnd, hwnd);
221}
222
223STDMETHODIMP OpAutomation::GetClientRect(LONGLONG hwnd, VARIANT *x1, VARIANT *y1, VARIANT *x2, VARIANT *y2, LONG *nret) {
224 x1->vt = VT_I4;

Callers 1

OpFindWindowExFunction · 0.45

Calls 1

SetOutValueFunction · 0.85

Tested by

no test coverage detected