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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #76, comment 8

    v1 v2  
    11about "FillFindBuf": I think the "skip" flag needs to be looked at. I doubt that it is necessary.
    2 The rule is simple: if flags == FF_GETPOS then you always need to prepend the "position" field to the filefind structure (I think to EACH filefine structure you return but maybe only prepending the first filefind structure, I am not sure). This is true for all info levels.
    3 If you don't actually care about this value on a subsequent F32_FINDNEXT or F32_FINDFROMNAME, you can enter any value for "position" that you want, in that case I propose that you just enter 0UL.
     2The 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.
     3If 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.
     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.