Skip to content

Fix win32_SystemProcessorPerformanceInformation struct #1831

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

niemp100
Copy link

@niemp100 niemp100 commented Apr 1, 2025

Fixes An issue on Windows 32Bit Systems where the CPU information is not available and throwing an windows error response code from the API discussed here: #1236

@niemp100
Copy link
Author

niemp100 commented Apr 9, 2025

In the struct that is passed to the windows API One of the variables has the wrong datatype (32 bit int instead of 64 bit) thus the size of the struct is 4 byte too small. Even though the buffer is big enough to hold all data, the API returns an error on 32bit windows systems ( tested on windows10 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant