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

Use IsWow64Process2 to determine system architecture #5125

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

yao-msft
Copy link
Contributor

@yao-msft yao-msft commented Jan 10, 2025

Due to legacy reasons, GetNativeSystemInfo() will return x64 when x86 binaries running on arm64 machines. IsWow64Process2 is the new api that'll correctly report host machine architecture.

Microsoft Reviewers: Open in CodeFlow

@yao-msft yao-msft marked this pull request as ready for review January 10, 2025 20:30
@yao-msft yao-msft requested a review from a team as a code owner January 10, 2025 20:30
@yao-msft yao-msft merged commit 5cfc9da into microsoft:master Jan 10, 2025
9 checks passed
@yao-msft yao-msft deleted the correctsystemarch branch January 10, 2025 21:15
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