Article View: borland.public.cppbuilder.nativeapi
Article #4942Re: GetSystemTimes and Borland C++ Builder
From: Remy Lebeau (TeamB)
Date: Wed, 12 Oct 2005 23:39
Date: Wed, 12 Oct 2005 23:39
16 lines
1531 bytes
1531 bytes
"Lapo Guidi" <lapoguidi@inwind.it> wrote in message news:434d9a54@newsgroups.borland.com... > I readed that NT/2k/XP Task Manager uses NtQuerySystemInformation, > but Microsoft suggest to use the GetSystemTimes function.Do you think I > should use GetSystemTiimes as Microsoft suggest or should I use the old > NtQuerySystemInformation? As I already mentioned earlier, GetSystemTimes() is only available on the most modern of OS versions (XP S1, 2003 Server, and Vista). That means when GetSystemTimes() is not available on a particular machine, you will have to fallback to using NtQuerySystemInformation(). Gambit
Technical Details
Message-ID:
<434da00b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<434c5d74@newsgroups.borland.com> <434c76ff$1@newsgroups.borland.com> <434d9a54@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,decdfd9a1b916fa8 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <434c5d74@newsgroups.borland.com> <434c76ff$1@newsgroups.borland.com> <434d9a54@newsgroups.borland.com> Subject: Re: GetSystemTimes and Borland C++ Builder Date: Wed, 12 Oct 2005 16:39:43 -0700 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <434da00b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1129160715 68.69.17.41 (12 Oct 2005 16:45:15 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail