| 206 | } |
| 207 | |
| 208 | bool GetCursorShape(HWND hwnd, unsigned long long &hash, unsigned long long &meta) { |
| 209 | if (!hwnd) |
| 210 | return false; |
| 211 | |
| 212 | std::lock_guard<std::mutex> lock(g_mutex); |
| 213 | if (g_bind_refs.find(hwnd) == g_bind_refs.end()) |
| 214 | return false; |
| 215 | |
| 216 | return call_cursor_shape(hwnd, hash, meta); |
| 217 | } |
| 218 | |
| 219 | } // namespace op::hook::input_hook_client |
no test coverage detected