Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.7 KiB

  1. /* dir.h - structure of a directory entry */
  2. struct dirType {
  3. char name[8]; /* 00 packed FCB filename */
  4. char ext[3]; /* 08 packed FCB extention */
  5. char attr; /* 0B attribute */
  6. char pad[10]; /* 0C reserved space */
  7. unsigned time; /* 16 time of last modification */
  8. unsigned date; /* 18 date of last modification */
  9. unsigned clusFirst; /* 1A first cluster on disk */
  10. long size; /* 1C file size */
  11. };
  12. /* the following is what gets returned on FCB search calls */
  13. struct srchdirType {
  14. char drv; /* 00 drive */
  15. char name[8]; /* 01 packed FCB filename */
  16. char ext[3]; /* 09 packed FCB extention */
  17. char attr; /* 0C attribute */
  18. char pad[10]; /* 0D reserved space */
  19. unsigned time; /* 17 time of last modification */
  20. unsigned date; /* 19 date of last modification */
  21. unsigned clusFirst; /* 1B first cluster on disk */
  22. long size; /* 1D file size */
  23. };
  24. struct esrchdirType {
  25. char eflg; /* 00 must be 0xFF for extended */
  26. char pad1[5]; /* 01 padding */
  27. char sattr; /* 06 search attribute */
  28. char drv; /* 07 drive */
  29. char name[8]; /* 08 packed FCB filename */
  30. char ext[3]; /* 10 packed FCB extention */
  31. char attr; /* 13 attribute */
  32. char pad[10]; /* 14 reserved space */
  33. unsigned time; /* 1E time of last modification */
  34. unsigned date; /* 20 date of last modification */
  35. unsigned clusFirst; /* 22 first cluster on disk */
  36. long size; /* 24 file size */
  37. };