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

Add support for reserved parameters #2039

Merged
merged 6 commits into from Sep 20, 2022
Merged

Add support for reserved parameters #2039

merged 6 commits into from Sep 20, 2022

Conversation

kennykerr
Copy link
Collaborator

The win32 metadata now calls out reserved parameters, which are generally pointers. These are now wrapped in Option so instead of having to pass std::ptr::null() you can now pass None which is a lot more concise and convenient. This still allows the reserved parameters to be used in the event that the parameter is incorrectly attributed or if the parameter is "unreserved" in a later version of Windows.

Fixes: #2030

@kennykerr kennykerr changed the title Add supported for reserved parameters Add support for reserved parameters Sep 20, 2022
@kennykerr kennykerr merged commit a8cf611 into master Sep 20, 2022
@kennykerr kennykerr deleted the reserved branch September 20, 2022 14:58
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.

Bug: RegQueryValueExA/W is seemingly impossible to use correctly now
1 participant