On Sun, Dec 6, 2009 at 8:12 AM, Huw Davies <h...@codeweavers.com> wrote: > By the way, in storage32.h the filename member of struct StorageBaseImpl is > declared as > WCHAR filename[DIRENTRY_NAME_BUFFER_LEN]; > shouldn't it be > WCHAR filename[DIRENTRY_NAME_MAX_LEN]; > ? > > Huw.
I'm not sure. I think I copied it from the old code and wondered the same thing. It really depends on how IStorage_Stat behaves for the root storage. I suspect that there's no limit, or that the limit is MAX_PATH. I'm planning to write a test for it. -- Vincent Povirk