| 485 | } |
| 486 | |
| 487 | int OP_CALL OpBindWindowEx(op_handle handle, intptr_t display_hwnd, intptr_t input_hwnd, const wchar_t *display, |
| 488 | const wchar_t *mouse, const wchar_t *keypad, int mode) { |
| 489 | return call_ret(handle, [&](op::Op &op, long *ret) { |
| 490 | op.BindWindowEx(static_cast<LONG_PTR>(display_hwnd), static_cast<LONG_PTR>(input_hwnd), safe_text(display), |
| 491 | safe_text(mouse), safe_text(keypad), mode, ret); |
| 492 | }); |
| 493 | } |
| 494 | |
| 495 | int OP_CALL OpUnBindWindow(op_handle handle) { |
| 496 | return call_ret(handle, [](op::Op &op, long *ret) { op.UnBindWindow(ret); }); |
nothing calls this directly
no test coverage detected