Re: respect unicode _ILCreateFromFindData

2007-04-09 Thread Aric Stewart
Thanks for the comments. I have corrected most and will resubmit. Dmitry Timoshkov wrote: + +type = (wfd->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? PT_FOLDER : PT_VALUE; + +/* + * FileStruct already has one byte for the first name, so use len - 1 in + * size calculation

Re: respect unicode _ILCreateFromFindData

2007-04-09 Thread Dmitry Timoshkov
"Aric Stewart" <[EMAIL PROTECTED]> wrote: +if (fs) +{ +FileTimeToDosDateTime( &(stffile->ftLastWriteTime), + &fs->uFileDate, &fs->uFileTime); +fs->dwFileSize = stffile->nFileSizeLow; +fs->uFileAttribs = (WORD)stffile->dwFileAttribu