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

SetConsoleMode flags #4

Open
marler8997 opened this issue Aug 2, 2021 · 0 comments
Open

SetConsoleMode flags #4

marler8997 opened this issue Aug 2, 2021 · 0 comments

Comments

@marler8997
Copy link
Contributor

SetConsoleMode has an enum parameter. This enum has multiple names for the same values in some cases because it changes behavior depending on the presence of other flags. This means in some cases you can't use the correct name when using initFlags because it only has 1 name for each unique value.

If this situation is common enough, it might make sense to come up with a general solution for this. For now it might be good enough to create a manually generated wrapper for this that uses a union to change between enum types.

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

No branches or pull requests

1 participant