🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: query drive letter to see if it is a mapped network drive

#6715
From: Ed Mulroy [TeamB]
Date: Sun, 17 Apr 2005 13:49
13 lines
1449 bytes
Look at the WIndows API function GetDriveType

.  Ed

> Peter Van Hove wrote in message
> news:4261890e@newsgroups.borland.com...
> Hi,
>
> Is it possible to query a drive letter to see if it is a mapped 
> network drive instead of a storage device in the system itself ?
> If so, how ?
> And also, will there not be annoying time-outs when this network 
> drive disconnects at some point and the query is run ?
Technical Details
Message-ID: <4262696f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4261890e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4d4eec3eb7175b0b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ed Mulroy [TeamB]" <dont_email_me@invalid.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4261890e@newsgroups.borland.com>
Subject: Re: query drive letter to see if it is a mapped network drive
Date: Sun, 17 Apr 2005 09:49:27 -0400
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 4.239.183.31
Message-ID: <4262696f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113745775 4.239.183.31 (17 Apr 2005 06:49:35 -0800)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail