Changeset 1238
- Timestamp:
- Sep 17, 2008, 9:32:18 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/av2.c
r1203 r1238 11 11 23 Sep 07 SHL Sync with standards 12 12 23 Sep 07 SHL Get rid of statics 13 17 Sep 08 JBS Convert to use of wrapped DosFind... (i.e. xDosFind...) 13 14 14 15 ***********************************************************************/ … … 38 39 #include "dll\init.h" // InitFM3DLL 39 40 #include "dll\valid.h" // IsFile 41 #include "dll\wrappers.h" // xDosFind... 40 42 41 43 HMTX av2Sem; … … 62 64 search_handle = HDIR_CREATE; 63 65 num_matches = 1; 64 if (! DosFindFirst(s,66 if (!xDosFindFirst(s, 65 67 &search_handle, 66 68 FILE_NORMAL | FILE_DIRECTORY | FILE_SYSTEM | … … 78 80 else 79 81 unlinkf("%s", s); 80 } while (! DosFindNext(search_handle,81 &ffb3, sizeof(FILEFINDBUF3), &num_matches ));82 } while (!xDosFindNext(search_handle, 83 &ffb3, sizeof(FILEFINDBUF3), &num_matches, FIL_STANDARD)); 82 84 DosFindClose(search_handle); 83 85 }
Note:
See TracChangeset
for help on using the changeset viewer.