Skip to content

Use LibraryImport in some Interop User32 - #7172

Merged
JeremyKuhne merged 1 commit into
dotnet:mainfrom
gpetrou:User32LibraryImport
Jun 8, 2022
Merged

JeremyKuhne merged 1 commit into
dotnet:mainfrom
gpetrou:User32LibraryImport

Conversation

@gpetrou

@gpetrou gpetrou commented May 13, 2022 •

Copy link
Copy Markdown
Contributor

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
Comment thread global.json Resolved
@gpetrou
gpetrou force-pushed the User32LibraryImport branch from 944ba0b to c2a1ba2 Compare May 15, 2022 06:18

@RussKie RussKie left a comment

Copy link
Copy Markdown
Contributor

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

gpetrou commented May 24, 2022

Copy link
Copy Markdown
Contributor Author

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

@gpetrou
gpetrou force-pushed the User32LibraryImport branch from 5a95d59 to 3eb1825 Compare June 5, 2022 17:53

@JeremyKuhne JeremyKuhne left a comment

Copy link
Copy Markdown
Member

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

RussKie commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

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