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

Force read of processorArchitecture member of SYSTEM_INFO union #1134

Merged
merged 2 commits into from
Sep 14, 2019

Conversation

dbwiddis
Copy link
Contributor

@dbwiddis dbwiddis commented Sep 13, 2019

Per MSDN docs, the dwOemID member of the SYSTEM_INFO.processorArchitecture union is obsolete. The correct pi member of the union is a structure and isn't read by default. This change sets the type so the structure can be read. Fixes #1057

@dbwiddis dbwiddis force-pushed the system-info branch 4 times, most recently from 12f9c78 to e88c8d2 Compare September 13, 2019 04:10
@matthiasblaesing matthiasblaesing merged commit 43cdb5c into java-native-access:master Sep 14, 2019
@matthiasblaesing
Copy link
Member

Thank you.

@dbwiddis dbwiddis deleted the system-info branch September 21, 2019 17:43
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.

com.sun.jna.platform.win32.WinBase.SYSTEM_INFO structure is incorrect
2 participants