-
Notifications
You must be signed in to change notification settings - Fork 116
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
LCS_WINDOWS_COLOR_SPACE
and LCS_sRGB
are missing for LcsCsType
enum constants
#1740
Comments
Looks like we're missing these from the Win32 metadata. Will transfer this issue for their consideration. |
Thank you for handling this issue. I got it. |
win32metadata/generation/WinSDK/RecompiledIdlHeaders/um/wingdi.h Lines 669 to 675 in 53c95c5
Are these strings treated as ints? If so, what's their value? |
They are multicharacter literals, not strings. |
According to winapi crate, pub const LCS_sRGB: LCSCSTYPE = 0x7352_4742;
pub const LCS_WINDOWS_COLOR_SPACE: LCSCSTYPE = 0x5769_6E20; |
Thanks. I will group these all into an LCSCSTYPE enum. |
Suggestion
LOGCOLORSPACEA
struct haslcsCSType
field. The field expectsLCS_CALIBRATED_RGB
orLCS_sRGB
orLCS_WINDOWS_COLOR_SPACE
enum constants.https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-logcolorspacea
windows-rs only defines
LCS_CALIBRATED_RGB
. Can we addLCS_sRGB
andLCS_WINDOWS_COLOR_SPACE
constants?winapi crate defines these constants:
The text was updated successfully, but these errors were encountered: