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

Migrating from winapi to windows-sys #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vthib
Copy link

@vthib vthib commented Mar 9, 2023

windows-sys (and windows) are crates for bindings on Windows API officially supported by Microsoft. They are replacing winapi in many crates, and it would be nice to migrate this great project too :)

The differences in the API call are minimal. The other differences are mainly in the type used for constants, which can vary between i32 and u32, and is often not the same as the winapi one.

Cargo.toml Outdated
"winerror",
"winnt",
]}
windows-sys = { version = "0.45", features = [
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

windows-sys 0.48 was released some days ago.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the MR. However the maintainer does not seems to be active anymore, so I doubt this will get merged

@pronebird
Copy link

Would be cool to see this merged.

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.

3 participants