filerec.inc 943 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 1999-2000 by the Free Pascal development team
  4. FileRec record definition
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. {
  12. This file contains the definition of the filerec record.
  13. It is put separately, so it is available outside the system
  14. unit without sacrificing TP compatibility.
  15. }
  16. const
  17. filerecnamelength = 255;
  18. type
  19. FileRec = Packed Record
  20. Handle,
  21. Mode,
  22. RecSize : longint;
  23. _private : array[1..32] of byte;
  24. UserData : array[1..16] of byte;
  25. name : array[0..filerecnamelength] of char;
  26. End;