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

Method GetWindowRect

libop/com/OpAutomation.cpp:314–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314STDMETHODIMP OpAutomation::GetWindowRect(LONGLONG hwnd, VARIANT *x1, VARIANT *y1, VARIANT *x2, VARIANT *y2, LONG *nret) {
315 x1->vt = VT_I4;
316 x2->vt = VT_I4;
317 y1->vt = VT_I4;
318 y2->vt = VT_I4;
319
320 obj.GetWindowRect(static_cast<LONG_PTR>(hwnd), &x1->lVal, &y1->lVal, &x2->lVal, &y2->lVal, nret);
321
322 return S_OK;
323}
324
325STDMETHODIMP OpAutomation::GetWindowState(LONGLONG hwnd, LONG flag, LONG *rethwnd) {
326 obj.GetWindowState(static_cast<LONG_PTR>(hwnd), flag, rethwnd);

Callers 1

OpGetWindowRectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected