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

Method FindWindowByProcessId

libop/com/OpAutomation.cpp:211–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211STDMETHODIMP OpAutomation::FindWindowByProcessId(LONG process_id, BSTR class_name, BSTR title, LONGLONG *rethwnd) {
212 LONG_PTR hwnd = 0;
213 obj.FindWindowByProcessId(process_id, class_name, title, &hwnd);
214 return SetOutValue(rethwnd, hwnd);
215}
216
217STDMETHODIMP OpAutomation::FindWindowEx(LONGLONG parent, BSTR class_name, BSTR title, LONGLONG *rethwnd) {
218 LONG_PTR hwnd = 0;

Callers 1

OpFindWindowByProcessIdFunction · 0.45

Calls 1

SetOutValueFunction · 0.85

Tested by

no test coverage detected