Ling1201
New Member
I need to detect the ProcessorArchitecture in UWP to figure out if it is run in ARM platform to do some function filter.
So I tried to use Pinvoke to call GetNativeSystemInfo api (Desktop application) and run it in windows 10 for ARM.
It returns wrong wProcessorArchitecture as "PROCESSOR_ARCHITECTURE_INTEL", while it should be "PROCESSOR_ARCHITECTURE_ARM".
GetNativeSystemInfo
SYSTEM_INFO
OS version: 10.0.16299.15
Does the GetNativeSystemInfo api not supported perfectly in windows 10 for ARM?
Any other method to get the accurate ProcessorArchitecture in UWP in windows 10 for ARM?
So I tried to use Pinvoke to call GetNativeSystemInfo api (Desktop application) and run it in windows 10 for ARM.
It returns wrong wProcessorArchitecture as "PROCESSOR_ARCHITECTURE_INTEL", while it should be "PROCESSOR_ARCHITECTURE_ARM".
GetNativeSystemInfo
SYSTEM_INFO
OS version: 10.0.16299.15
Does the GetNativeSystemInfo api not supported perfectly in windows 10 for ARM?
Any other method to get the accurate ProcessorArchitecture in UWP in windows 10 for ARM?