|
-
August 11th, 1999, 11:16 AM
#1
SHGetDataFromIDList
Hi Gurus, I have no luck in getting the comment for a given machine when enumerating via shellfolders.
At the point, where I got a correct folder and item (must be correct since I get the correct name and icon, what is predicable, since lpItem came from lpFolder->EnumObjects) and tried a:
NETRESOURCE nrc;
::ZeroMemory (&nrc, sizeof (nrc));
hResult= SHGetDataFromIDList (lpFolder, lpItem, SHGDFIL_NETRESOURCE, (PVOID) &nrc, sizeof (nrc));
It simply fails on all machines that are part of my workgroup and therefore childen of the CSIDL_NETWORK and works fine on anything under "Entire Network". But not even then it wouldn't fill *any* of the nrc.lp* entries.
What's wrong?
TIA, Carsten Witte
(cf. http://www.codeguru.com/mfc/comments...93511313479394
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|