| 348 | } |
| 349 | |
| 350 | const wchar_t *OP_CALL OpGetWindowProcessPath(op_handle handle, intptr_t hwnd) { |
| 351 | return call_string(handle, [&](op::Op &op, std::wstring &ret) { |
| 352 | op.GetWindowProcessPath(static_cast<LONG_PTR>(hwnd), ret); |
| 353 | }); |
| 354 | } |
| 355 | |
| 356 | int OP_CALL OpGetWindowRect(op_handle handle, intptr_t hwnd, int *x1, int *y1, int *x2, int *y2) { |
| 357 | return call_ret(handle, [&](op::Op &op, long *ret) { |
nothing calls this directly
no test coverage detected