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

Method FindWindowByProcess

libop/op/OpWindow.cpp:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void op::Op::FindWindowByProcess(const wchar_t *process_name, const wchar_t *class_name, const wchar_t *title,
129 LONG_PTR *rethwnd) {
130
131 HWND hwnd = nullptr;
132 m_context->window_service.FindWindowByProcess(class_name, title, hwnd, process_name);
133 internal::set_result(rethwnd, hwnd_result(hwnd));
134}
135
136void op::Op::FindWindowByProcessId(long process_id, const wchar_t *class_name, const wchar_t *title,
137 LONG_PTR *rethwnd) {

Callers 1

FindWindowByProcessIdMethod · 0.45

Calls 2

set_resultFunction · 0.85
hwnd_resultFunction · 0.85

Tested by

no test coverage detected