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

Method GetForegroundWindow

libop/com/OpAutomation.cpp:247–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247STDMETHODIMP OpAutomation::GetForegroundWindow(LONGLONG *rethwnd) {
248 LONG_PTR hwnd = 0;
249 obj.GetForegroundWindow(&hwnd);
250 return SetOutValue(rethwnd, hwnd);
251}
252
253STDMETHODIMP OpAutomation::GetMousePointWindow(LONGLONG *rethwnd) {
254 //::Sleep(2000);

Callers 1

OpGetForegroundWindowFunction · 0.45

Calls 1

SetOutValueFunction · 0.85

Tested by

no test coverage detected