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

Function OpFindWindowByProcess

libop/c_api/op_c_api.cpp:270–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270intptr_t OP_CALL OpFindWindowByProcess(op_handle handle, const wchar_t *process_name, const wchar_t *class_name,
271 const wchar_t *title) {
272 return call_intptr(handle, [&](op::Op &op, LONG_PTR *ret) {
273 op.FindWindowByProcess(safe_text(process_name), safe_text(class_name), safe_text(title), ret);
274 });
275}
276
277intptr_t OP_CALL OpFindWindowByProcessId(op_handle handle, int process_id, const wchar_t *class_name,
278 const wchar_t *title) {

Callers

nothing calls this directly

Calls 3

call_intptrFunction · 0.85
safe_textFunction · 0.85
FindWindowByProcessMethod · 0.45

Tested by

no test coverage detected