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

Add miscellaneous missing WinAPI functions, constants, and structures (comctl32, user32, uxtheme) #4781

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

NotKyon
Copy link
Contributor

@NotKyon NotKyon commented Feb 2, 2025

I added bindings to some missing functions in comctl32, user32, and ux_theme.

Most notably and surprisingly, SetFocus and EnumChildWindows were missing from user32.

More obscurely, I added the NONCLIENTMETRICSW structure, which is used by SystemParametersInfoW with SPI_GETNONCLIENTMETRICS or SPI_SETNONCLIENTMETRICS. My program required it for the former usage.

Each of the functions or structures added in this pull request have been added as a result of needing or wanting to use them in an app but finding they weren't present, so I believe they will be useful for others as well.

@gingerBill gingerBill merged commit 0e1c89e into odin-lang:master Feb 3, 2025
7 checks passed
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