Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use LibraryImport in some Interop User32 #7172

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

gpetrou
Copy link
Contributor

@gpetrou gpetrou commented May 13, 2022

Now that dotnet/runtime#60595 is closed, perhaps we could start using LibraryImport instead of DllImport.

Proposed changes

  • Use LibraryImport in some Interop User32.
Microsoft Reviewers: Open in CodeFlow

@gpetrou gpetrou requested a review from a team as a code owner May 13, 2022 04:59
@ghost ghost assigned gpetrou May 13, 2022
Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@RussKie RussKie requested a review from JeremyKuhne May 16, 2022 02:06
@RussKie RussKie added the waiting-on-team This work item needs to be discussed with team or is waiting on team action in order to proceed label May 16, 2022
@gpetrou
Copy link
Contributor Author

gpetrou commented May 24, 2022

@JeremyKuhne any thoughts on this PR? Could we merge it as it is and continue work on subsequent PRs?

Copy link
Member

@JeremyKuhne JeremyKuhne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took another look. @gpetrou, thanks for doing this, and thanks for your patience.

@JeremyKuhne JeremyKuhne merged commit 86eff93 into dotnet:main Jun 8, 2022
@ghost ghost added this to the 7.0 Preview6 milestone Jun 8, 2022
@RussKie
Copy link
Member

RussKie commented Jun 9, 2022

Thank you all

@gpetrou gpetrou deleted the User32LibraryImport branch June 9, 2022 04:25
@RussKie RussKie added enhancement Product code improvement that does NOT require public API changes/additions and removed waiting-on-team This work item needs to be discussed with team or is waiting on team action in order to proceed labels Jun 10, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Product code improvement that does NOT require public API changes/additions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants