dotnet / pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
MIT License
2.12k stars 222 forks source link

Fix `GetCursorInfo` to use `ref` instead of `out` #562

Closed AArnott closed 3 years ago

AArnott commented 3 years ago

This is required because the input parameter must have its size field initialized by the caller.

As identified by #558