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

Missing GetWindowLongPtr in Package #389

Closed YauronBis closed 6 years ago

YauronBis commented 6 years ago

I was suprised about this missing in User32 class. I get an exception because of x64 handle. On P/Invoke web site, you wrote a sub to abstract x32/x64 GetWindowLong depending on IntPtr.Size. But not inclued into Package too.

AArnott commented 6 years ago

We don't typically release after every individual change, and we've only had two changes since our 0.5.147 release. But since you hit it and want it, I'm happy to oblige.

0.5.152 is being pushed to nuget.org right now.