| 780 | } |
| 781 | |
| 782 | uintptr_t OP_CALL OpGetScreenData(op_handle handle, int x1, int y1, int x2, int y2, int *out_ret) { |
| 783 | out_int(out_ret, 0); |
| 784 | if (!handle) |
| 785 | return 0; |
| 786 | |
| 787 | try { |
| 788 | size_t data = 0; |
| 789 | long ret = 0; |
| 790 | handle->op.GetScreenData(x1, y1, x2, y2, &data, &ret); |
| 791 | out_int(out_ret, ret); |
| 792 | return static_cast<uintptr_t>(data); |
| 793 | } catch (...) { |
| 794 | out_int(out_ret, 0); |
| 795 | return 0; |
| 796 | } |
| 797 | } |
| 798 | |
| 799 | uintptr_t OP_CALL OpGetScreenDataBmp(op_handle handle, int x1, int y1, int x2, int y2, int *size, int *out_ret) { |
| 800 | out_int(size, 0); |
nothing calls this directly
no test coverage detected