🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.lang.vc
Article #44

Re: getsysteminfo���⣬��̣�

#44
From: xfan
Date: Mon, 11 Jan 2010 05:03
36 lines
1827 bytes
�޸�Ϊ GetSystemInfo(&sysinfo);������

"xfan" <gaodesen0305@yahoo.com.cn> д����Ϣ
news:hieavm$ndb$1@www.shinco.com...
> #include<stdio.h>
> #include<conio.h>
> #include<windows.h>
>
> int main()
> {
>  SYSTEM_INFO sysinfo;
>
>  void WINAPI GetSystemInfo(LPSYSTEM_INFO sysinfo);
>  printf("%d\n",sysinfo.wProcessorArchitecture);
>   getch();
>  return 0;
> }
> ��������52428����msdn�ϸ��ֵ��
>   PROCESSOR_ARCHITECTURE_AMD64
>   9
>   x64 (AMD or Intel)
>   PROCESSOR_ARCHITECTURE_IA64
>   6
> Intel Itanium Processor Family (IPF)
>
>   PROCESSOR_ARCHITECTURE_INTEL
>   0
> x86
>
>   PROCESSOR_ARCHITECTURE_UNKNOWN
>   0xffff
> Unknown architecture.
>
> ���ܶ�������ô�����أ�
>
>
Technical Details
Message-ID: <hiebft$p9l$1@www.shinco.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!t-online.de!61.160.235.197.MISMATCH!www.shinco.com!not-for-mail
References: <hieavm$ndb$1@www.shinco.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 968c9b948e,323962c1c4326e8f
X-Google-Attributes: gid968c9b948e,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!t-online.de!61.160.235.197.MISMATCH!www.shinco.com!not-for-mail
From: "xfan" <gaodesen0305@yahoo.com.cn>
Newsgroups: cn.comp.lang.vc
Subject: Re: getsysteminfo���⣬��̣�
Date: Mon, 11 Jan 2010 13:03:59 +0800
Organization: A poorly-installed InterNetNews site
Lines: 38
Message-ID: <hiebft$p9l$1@www.shinco.com>
References: <hieavm$ndb$1@www.shinco.com>
NNTP-Posting-Host: 123.52.106.194
X-Trace: www.shinco.com 1263186237 25909 123.52.106.194 (11 Jan 2010 05:03:57 GMT)
X-Complaints-To: news@www.shinco.com
NNTP-Posting-Date: Mon, 11 Jan 2010 05:03:57 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0