🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

getsysteminfo���⣬��̣�

#43
From: xfan
Date: Mon, 11 Jan 2010 04:55
30 lines
1578 bytes
#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: <hieavm$ndb$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

Show Full Headers
Complete Article Headers
X-Google-Thread: 968c9b948e,323962c1c4326e8f,start
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: getsysteminfo���⣬��̣�
Date: Mon, 11 Jan 2010 12:55:20 +0800
Organization: A poorly-installed InterNetNews site
Lines: 32
Message-ID: <hieavm$ndb$1@www.shinco.com>
NNTP-Posting-Host: 123.52.106.194
X-Trace: www.shinco.com 1263185718 23979 123.52.106.194 (11 Jan 2010 04:55:18 GMT)
X-Complaints-To: news@www.shinco.com
NNTP-Posting-Date: Mon, 11 Jan 2010 04:55:18 +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