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

User32.GetWindowRect not showing up on a .NET 4.0 app #265

Closed robsonfelix closed 8 years ago

robsonfelix commented 8 years ago

Some methods are not showing up although I can see them in the code tree. Any ideas why?

vbfox commented 8 years ago

The version on NuGet is 0.3.2 from April and GetWindowRect only appeared following PR #240 on May 13 so there is still no release containing this code.

I'm not sure why there wasn't any release since then, @AArnott is the one doing the releases and he'll have more info but he commented 4 days ago in #264 about a release occurring soon.

In the mean time it's possible to add the AppVeyor feed and get the latest nightly as described in the contributor document : https://github.com/AArnott/pinvoke/blob/master/CONTRIBUTING.md#self-service-releases-for-contributors .

AArnott commented 8 years ago

Thanks for the investigation, @vbfox. Yes, I'll execute a release very soon. Let's have a discussion on gitter about a good release cadence.

AArnott commented 8 years ago

0.3.90 is publishing to nuget.org now.

robsonfelix commented 8 years ago

hey guys, that definitely fixed it! I am still missing the following functions...

GetWindowText SetCursorPos GetCursorPos EnumDesktopWindows WindowFromPoint EnumWindows GetWindowPlacement

Are they not part of User32.dll?

AArnott commented 8 years ago

@robsonfelix: we don't have p/invoke signatures for those functions yet. We would certainly accept a PR to add them.