Article View: borland.public.cppbuilder.nativeapi
Article #7381Re: bool IsLaptop() {/* Can the laptop be recognized? */}
From: Vladimir Stefanovic
Date: Mon, 14 Feb 2005 19:16
Date: Mon, 14 Feb 2005 19:16
25 lines
1567 bytes
1567 bytes
Hi Remy, >> Can the laptop be recognized somehow? > > Why do you need this? I'm just considering some licensing mechanisms which allows two PC's to be registered (Desktop+ [Laptop]). I have nothing concrete now, just investigating... > If you want to take power management into account, > for instance, then simply add a message handler to your code > for the WM_POWERBROADCAST message. This message could be useful although I'm aware that any function intended to determine is Laptop or not is not reliable at all. Thanks. -- Best regards, Vladimir Stefanovic
Technical Details
Message-ID:
<4210f8f4@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4210e31f@newsgroups.borland.com> <4210f13f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c36954a06e8243a7
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4210e31f@newsgroups.borland.com> <4210f13f$1@newsgroups.borland.com>
Subject: Re: bool IsLaptop() {/* Can the laptop be recognized? */}
Date: Mon, 14 Feb 2005 20:16:06 +0100
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.117.212.65
Message-ID: <4210f8f4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108408564 82.117.212.65 (14 Feb 2005 11:16:04 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail