Article View: borland.public.cppbuilder.nativeapi
Article #1288Re: Drive letter
From: Anton
Date: Tue, 02 Oct 2007 10:19
Date: Tue, 02 Oct 2007 10:19
30 lines
1626 bytes
1626 bytes
Thanks for your tip, I'll have a look at those Win32 calls The hardware-id is the unique number of each storage medium (harddisc and usb memorystick) Kind Regards, Anton "Ted Lyngmo" <tedREMOVETHIS@lyncon.se> schreef in bericht news:47016e72$1@newsgroups.borland.com... > Anton wrote: >> >> To determine the Hardware-id of the storage media (harddisc and >> usb-storage) I use the Register information and this works fine. >> >> Now I'm looking for a way wich driveletter belongs to each storage >> medium. > > I'm not quite sure if this is what you are after, but take a look at the > Win32 calls: > > GetLogicalDrives() > GetVolumeInformation() > > Don't know about "hardware id" though... > > Best regards, > Ted Lyngmo
Technical Details
Message-ID:
<47021b2a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4701649a@newsgroups.borland.com> <47016e72$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1b40a17d6647f089 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Anton" <acvoosten@zeelandnet.nl> Newsgroups: borland.public.cppbuilder.nativeapi References: <4701649a@newsgroups.borland.com> <47016e72$1@newsgroups.borland.com> Subject: Re: Drive letter Date: Tue, 2 Oct 2007 12:19:19 +0200 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 86.87.46.231 Message-ID: <47021b2a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1191320362 86.87.46.231 (2 Oct 2007 03:19:22 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail