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

dwmapi, user32: add missing system metric constants and fix type of t… #20

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

dblohm7
Copy link
Member

@dblohm7 dblohm7 commented Oct 18, 2024

…wo dwmapi constants

SM_MEDIACENTER = 87
SM_STARTER = 88
SM_SERVERR2 = 89
SM_CMETRICS = 91
Copy link
Member

Choose a reason for hiding this comment

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

#if WINVER <= 0x501
#define SM_CMETRICS 91
#elif WINVER == 0x600
#define SM_CMETRICS 93
#else
#define SM_CMETRICS 97
#endif

ugh, I guess that's the "highest number in use plus one"? Although I don't see a 96.

I guess it's handy we don't need it, that's such a mess.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that's just the highest number and it changes with every release.

@dblohm7 dblohm7 merged commit cfd3289 into main Oct 18, 2024
@dblohm7 dblohm7 deleted the aaron/more_metrics branch October 18, 2024 16:31
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.

2 participants