Article View: borland.public.cppbuilder.nativeapi
Article #6373Re: Unique compuer ID
From: Remy Lebeau (TeamB)
Date: Fri, 20 May 2005 20:27
Date: Fri, 20 May 2005 20:27
17 lines
1752 bytes
1752 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message
news:428e45d1$1@newsgroups.borland.com...
> What about "GetCurrentHwProfile" and returned parameter
> of HW_PROFILE_INFO szHwProfileGuid
> "{12340001-4980-1920-6788-123456789012}" ?
Like its name suggests, it retreives the "current" profile. Multiple
profiles may exist on a machine, and can be swapped dynamically as hardware
changes (docking/undocking devices, inserting/removing hot-swappable
devices, etc). Also, if the user reinstalls the OS, or add/removes
profiles, the GUIDs may change as well. Also, the function is only
available on NT-based systems (NT4/2K/XP/2K3), not on 9x/Me.
Gambit
Technical Details
Message-ID:
<428e483d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<428e3c63$1@newsgroups.borland.com> <428e3ff8$1@newsgroups.borland.com> <428e45d1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a23b7d6ad8637bed 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: <428e3c63$1@newsgroups.borland.com> <428e3ff8$1@newsgroups.borland.com> <428e45d1$1@newsgroups.borland.com> Subject: Re: Unique compuer ID Date: Fri, 20 May 2005 13:27:43 -0700 Lines: 19 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: <428e483d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1116620861 68.69.17.41 (20 May 2005 13:27:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail