Hi Stefan,
--- Stefan D�siner stefandoesinger@gmx.at wrote:
How do I handle apidl == NULL? As far as I understand, apidl specifies a list of folders/files to be checked, right? If apidl == 0, what folder should I check. Is there some 'current folder' in the IShellFolder class? I didn't find any.
Right, apidl can't be NULL if cidl is nonzero. If cidl is zero, you probably need the check to be in the caller. E.g. in shfldr_fs.c, the current folder is what calls SHELL32_GetItemAttributes, from IShellFolder_fnGetAttributesOf. Perhaps the dwAttributes member that's passed to InitializeEx sets the correct attributes for the current folder? I'm not sure.
--Juan
__________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new Resources site http://smallbusiness.yahoo.com/resources/