Skip to content

Reorder Message fields#8063

Merged
JeremyKuhne merged 1 commit intodotnet:mainfrom
JeremyKuhne:messssage
Oct 28, 2022
Merged

Reorder Message fields#8063
JeremyKuhne merged 1 commit intodotnet:mainfrom
JeremyKuhne:messssage

Conversation

@JeremyKuhne
Copy link
Member

@JeremyKuhne JeremyKuhne commented Oct 28, 2022

Historically our first four fields matched the layout of MSG. Keeping it that way for better back compat.

As Message doesn't match MSG, they shouldn't be blitted over each other, but for those that might be doing this we can keep the order. Note that other future changes to the struct could break doing this sort of thing even if the first four fields stay the same.

Fixes #8062
Relates to #5849

Microsoft Reviewers: Open in CodeFlow

Historically our first four fields matched the layout of MSG. Keeping it that way for better back compat.

As Message doesn't match MSG, they shouldn't be blitted over each other, but for those that might be doing this we can keep the order. Note that other future changes to the struct could break doing this sort of thing even if the first four fields stay the same.
@JeremyKuhne JeremyKuhne requested a review from a team as a code owner October 28, 2022 18:40
@ghost ghost assigned JeremyKuhne Oct 28, 2022
@JeremyKuhne JeremyKuhne merged commit a123788 into dotnet:main Oct 28, 2022
@ghost ghost added this to the 8.0 Preview1 milestone Oct 28, 2022
@JeremyKuhne JeremyKuhne deleted the messssage branch October 28, 2022 19:50
@dreddy-work
Copy link
Member

I should have put a note to wait on merge. We should be good given branding is already made. TimeLine was from 1st NOV. Will keep an eye if we need to do somethign about this.

@merriemcgaw
Copy link
Member

This one went into .NET 8. We'll need to cherry pick the changes for the 7.0.1 branch and add servicing consider tag to the actual bug.

@RussKie
Copy link
Contributor

RussKie commented Oct 31, 2022

@JeremyKuhne in the future please use GitHub keywords to establish cross-links between issues and pull requests.

@JeremyKuhne
Copy link
Member Author

@RussKie I deliberately did not use the keyword in this case as I didn't want the issue automatically closed.

@RussKie
Copy link
Contributor

RussKie commented Nov 1, 2022

Closed issues can be reopened, The lack of cross-referencing affects ability to data-mine via Kusto queries.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The WH_GETMESSAGE hook type is not working in .NET 7

4 participants