logo

enumerate items in nethood folder

nikos posted on Thursday, November 12, 2009 5:36 PM

many network locations like ftp folders are stored under <user profile>
\NetHood folder, as real folders containing 2 (real) files:

Desktop.ini
target.lnk -> points to the network location

these files can be read using e.g. FindFirstFile API

under the shell model these folder "links" they appear both as folders
and links (they have SFGAO_LINK set). But IShellFolder::BindToObject
with a NULL IBindCtx (bind context) will try to connect to the remote
network folder, e.g. the ftp location.

I am trying to figure out how to use BindToObject so that the 2 _real_
local files (desktop.ini & target.lnk) are enumerated instead.
Something like the inverse of STR_PARSE_PREFER_FOLDER_BROWSING that
forces filesystem view for webfolders. What sort of bind context
should I use?

thanks
nikos
reply



Didn't Find The Answer You Were Looking For?

View Platform SDK Shell Posts   Ask A New Question

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Create Account & Ask Question In Live Forum

Previous Platform SDK Shell conversation.

Mail    Networking Wireless    Plaform SDK Mapi    Platform SDK MSI    Platform SDK Security    Platform SDK Shell   




  $1000    Adam Houldsworth - $173  |  Jonathan VH - $154  |  Kirtan Patel - $116  |  Mr. Khan - $99  |  F Cali - $94  |  more Neado  |  Free Icons  |  Privacy  |   (c) 2010