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
"Aric Stewart" <[EMAIL PROTECTED]> wrote:
+if (fs)
+{
+FileTimeToDosDateTime( &(stffile->ftLastWriteTime),
+ &fs->uFileDate, &fs->uFileTime);
+fs->dwFileSize = stffile->nFileSizeLow;
+fs->uFileAttribs = (WORD)stffile->dwFileAttribu