Commit 087f876
Preserve GetCursorPos error reporting
Mark the P/Invoke as SetLastError-aware so failed cursor queries report the correct Win32 error.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 39014fc commit 087f876
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments