Write problem with MS Office 2003

Juan Lang juan_lang at yahoo.com
Tue May 24 12:10:45 CDT 2005

Hi Stefan,

--- Stefan Dösiner <stefandoesinger at 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.


Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site

More information about the wine-devel mailing list