Changes between Version 2 and Version 3 of Ticket #76, comment 8


Ignore:
Timestamp:
Feb 2, 2020, 3:42:02 PM (5 years ago)
Author:
erdmann

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #76, comment 8

    v2 v3  
    11about "FillFindBuf": I think the "skip" flag needs to be looked at. I doubt that it is necessary.
    22The rule is simple: if flags == FF_GETPOS then you always need to prepend the "position" field to the filefind structure (for EACH filefind structure you return. The IFS spec states "...must store in the first DWORD of the per-file attributes structure … This would imply that this field exists for each filefind structure and therefore for each file/directory found). This is true for all info levels.
    3 If you don't actually care about this value on a subsequentF32_FINDFROMNAME, you can enter any value for "position" that you want, in that case I propose that you just enter 0UL.
    4 If you look at FS32_FINDFROMNAME, you will notice that it has a parameter "position". This is exactly that value that you save in "position" on a FS32_FINDFIRST,FS32_FINDNEXT call.
     3If you don't actually care about this value on a subsequent F32_FINDFROMNAME, you can enter any value for "position" that you want, in that case I propose that you just enter 0UL.
     4If you look at FS32_FINDFROMNAME, you will notice that it has a parameter "position". This is exactly that value that you save in "position" on a FS32_FINDFIRST,FS32_FINDNEXT call. The FS32_FINDFROMNAME can then resume with a filename and this additional position info.