Article View: borland.public.cppbuilder.nativeapi
Article #13297Re: Enumerating Partition Roots
From: Bob Gonder
Date: Sun, 19 Oct 2003 21:16
Date: Sun, 19 Oct 2003 21:16
14 lines
1745 bytes
1745 bytes
Gerry O'Brien wrote: >I'm trying to enable applications to search system wide for data on >startup in the event that the user has moved the data from its last >known location. This includes mapped network drives. >I'm stuck with getting the appropriate pidls and their IShellFolder >bindings for the roots of the local and mapped drives. Including mapped drives, GetLogicalDriveStrings should work. Then you could use the FindFirstFile APIs on each of the returned strings. OTOH, if you want to search the entire network, not just mapped drives, then you are (probably) going the right direction with pidls.
Technical Details
Message-ID:
<4bv5pv49hpt50iuvh3lkq4aom5vaum0g5t@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn11feed!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f926291$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,170cdd7dc15ee467 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-19 14:24:43 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Enumerating Partition Roots Date: Sun, 19 Oct 2003 14:16:18 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <4bv5pv49hpt50iuvh3lkq4aom5vaum0g5t@4ax.com> References: <3f926291$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.177.15 X-Trace: newsgroups.borland.com 1066598185 67.31.177.15 (19 Oct 2003 14:16:25 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn11feed!wn14feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail