Article View: borland.public.cppbuilder.nativeapi
Article #15514Re: CPU, Disks information
From: Marcello Scala
Date: Wed, 02 Jul 2003 18:08
Date: Wed, 02 Jul 2003 18:08
37 lines
2277 bytes
2277 bytes
You can do a sample source? Thanx "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> ha scritto nel messaggio news:3f021a4e@newsgroups.borland.com... > When looking for how to find things out under Windows, it is a good idea to > start by looking in the Windows help file, win32.hlp. The following are from > that help. > > Number of disks: GetLogicalDrives or GetLogicalDriveStrings > Free space: GetDiskFreeSpaceEx > Volume name, serial number, system operation flags, etc: > GetVolumeInformation > Listing some devices: QueryDosDevice > > Other items can be found using I/O Control. For instance an array of > DISK_GEOMETRY structures are returned by a call to DeviceIoControl with a > calling argument of IOCTL_DISK_GET_DRIVE_GEOMETRY > > Getting the CPU type and speed are not trivial tasks and are beyond what I > am prepared to put in this message. You might try a web search, > http://www.google.com and might also try looking on the MS Developer's > Network site: http://msdn.microsoft.com/library/default.asp > > . Ed > > > Jo�o Pereira wrote in message > > news:3f01b8d3$1@newsgroups.borland.com... > > > > How is it possible to know the CPU information, like Speed, > > usage... and disk info like free space, number of disks and > > partitions. > >
Technical Details
Message-ID:
<3f031fc6@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f01b8d3$1@newsgroups.borland.com> <3f021a4e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,fcd7ce76e491dc06 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-02 11:10:47 PST From: "Marcello Scala" <marcello.scala@email.it> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f01b8d3$1@newsgroups.borland.com> <3f021a4e@newsgroups.borland.com> Subject: Re: CPU, Disks information Date: Wed, 2 Jul 2003 20:08:40 +0200 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.180.223.28 Message-ID: <3f031fc6@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057169350 80.180.223.28 (2 Jul 2003 11:09:10 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail