Feature request: Match types of FOREGROUND_BLUE
etc. with SetConsoleTextAttributes
#967
Labels
enhancement
New feature or request
usability
Touch-up to improve the user experience for a language projection
Motivation
SetConsoleTextAttribute
'wattributes
argument is declared with typeu16
.The character attributes that one passes to it, such as
FOREGROUND_BLUE
, are declared with typeu32
.It would be convenient if these constants were declared with type
u32
to obviate the need for casting.Drawbacks
No response
Rationale and alternatives
No response
Additional context
In the winapi crate,
FOREGROUND_BLUE
is declared with typeWORD
akau16
.The text was updated successfully, but these errors were encountered: