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 proper SafeHandle types for specific APIs #941

Merged
merged 1 commit into from
May 24, 2023
Merged

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented May 24, 2023

Some APIs return a common handle type but require the handle to be released with a less-common method. The metadata now includes this detail, and with this change, CsWin32 honors that.

Fixes microsoft/win32metadata#1581

Some APIs return a common handle type but require the handle to be released with a less-common method. The metadata now includes this detail, and with this change, CsWin32 honors that.

Fixes microsoft/win32metadata#1581
@AArnott AArnott merged commit 435c077 into main May 24, 2023
@AArnott AArnott deleted the fixSafeHandleType branch May 24, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CreateActCtx is returning the wrong SafeHandle
1 participant