15,979
社区成员
发帖
与我相关
我的任务
分享
int iIndex = GetSystemMetrics(SM_TABLETPC);
这样写?PC上的返回值是0啊,不知道平板上是多少,下次试试。。
这个函数只用过来取屏幕分辨率,敢问大侠上面那样写是什么目的?[/quote]
GetSystemMetrics可不仅是用来取屏幕分辩率!
int iIndex = GetSystemMetrics(SM_TABLETPC);
这样写?PC上的返回值是0啊,不知道平板上是多少,下次试试。。
这个函数只用过来取屏幕分辨率,敢问大侠上面那样写是什么目的?wProcessorArchitecture
The processor architecture of the installed operating system. This member can be one of the following values.
Value
Meaning
PROCESSOR_ARCHITECTURE_AMD649
x64 (AMD or Intel)
PROCESSOR_ARCHITECTURE_ARMReserved
ARM
PROCESSOR_ARCHITECTURE_IA646
Intel Itanium-based
PROCESSOR_ARCHITECTURE_INTEL0
x86
PROCESSOR_ARCHITECTURE_UNKNOWN0xffff
Unknown architecture.