Article View: borland.public.cppbuilder.nativeapi
Article #14499Re: Getting PIDL for UNC path
From: Remy Lebeau (TeamB)
Date: Fri, 08 Aug 2003 16:38
Date: Fri, 08 Aug 2003 16:38
21 lines
1669 bytes
1669 bytes
"Martin Nijhoff" <dont@mail.me> wrote in message news:3f33a15f@newsgroups.borland.com... > Why is there a difference in the PIDLs returned by > EnumObjects() and ParseDisplayName() for the > same UNC path? Because a PIDL is relative to the actual object that is displaying the target object. Since your path is being shared by multiple objects, you are going to get multiple PIDLs, one of each of them. A PIDL only has meaning in the context of the object that created it. > Also, I would like to get the PIDL for the subfolder > of 'Network neighborhood', but don't know how. For "Network Neighborhood" itself? Use SHGetSpecialFolderLocation() with the CSIDL_NETWORK flag. Gambit
Technical Details
Message-ID:
<3f33d06a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f33a15f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,cd4e24ee33325537 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-08 09:38:32 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f33a15f@newsgroups.borland.com> Subject: Re: Getting PIDL for UNC path Date: Fri, 8 Aug 2003 09:38:02 -0700 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f33d06a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1060360298 207.175.226.26 (8 Aug 2003 09:31:38 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail