You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 usinginitFlags
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.
The text was updated successfully, but these errors were encountered: