Changeset 841 for trunk/dll/dirs.c
- Timestamp:
- Sep 23, 2007, 6:27:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dirs.c
r793 r841 17 17 #define INCL_DOS 18 18 #define INCL_DOSERRORS 19 #define INCL_LONGLONG 19 20 20 21 #include <os2.h> … … 68 69 69 70 APIRET ret; 70 FILESTATUS3 fsa;71 FILESTATUS3L fsa; 71 72 CHAR path[CCHMAXPATH + 1], *p; 72 73 73 74 strcpy(path, s); 74 75 while (*path) { 75 ret = DosQueryPathInfo(path, FIL_STANDARD , &fsa,76 (ULONG) sizeof(FILESTATUS3 ));76 ret = DosQueryPathInfo(path, FIL_STANDARDL, &fsa, 77 (ULONG) sizeof(FILESTATUS3L)); 77 78 if (ret || !(fsa.attrFile & FILE_DIRECTORY)) { 78 79 p = strrchr(path, '\\');
Note:
See TracChangeset
for help on using the changeset viewer.