Skip to content

Fix the definition of IResourceManagerFactory2. #75219

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

Closed
wants to merge 1 commit into from

Conversation

jkoritzinsky
Copy link
Member

@jkoritzinsky jkoritzinsky commented Sep 7, 2022

According to the docs and the Windows SDK headers, the Guid parameters here are all passed by-ref.

Update the definition of the interface to pass the Guid parameters with in to match the native signature.

Based on the comments on a linked PR, this might not fix all of the issues. Flipping to draft.

According to [the docs](https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms681318(v=vs.85)) and the Windows SDK headers, the Guid parameters here are all passed by-ref.

Update the definition of the interface to pass the `Guid` parameters with `in` to match the native signature.

Fixes dotnet#74170
@ghost ghost assigned jkoritzinsky Sep 7, 2022
@jkoritzinsky jkoritzinsky marked this pull request as draft September 7, 2022 21:35
@jkoritzinsky
Copy link
Member Author

Closing as this work as well as other similar work is in another PR

@roji
Copy link
Member

roji commented Sep 9, 2022

Being done in #74226.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants