🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10073

Drive path and drive display name question

#10073
From: Martin C
Date: Thu, 27 May 2004 01:04
10 lines
1171 bytes
Hi all,

I am using SHGetFileInfo API function to retrieve drives display name, so is
it possible (api or code) to retrieve drive path from the drive display
name?

In other words is there any API function that I can use to convert for
example ( "MASTER(C:)"  to  "C:\")?

Thanks
Technical Details
Message-ID: <40b5228c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c795424ce368b5ed,start
X-Google-Attributes: gid10cc67,public
From: "Martin C" <martincplus@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Drive path and drive display name question
Date: Wed, 26 May 2004 19:04:31 -0600
Lines: 13
Organization: V Safe
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: 81.10.4.238
Message-ID: <40b5228c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1085612684 81.10.4.238 (26 May 2004 16:04:44 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail