windows.pp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. This file is part of the Free Pascal run time library.
  3. This unit contains the record definition for the Win32 API
  4. Copyright (c) 1999-2000 by Florian KLaempfl,
  5. member of the Free Pascal development team.
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************
  12. }
  13. unit windows;
  14. {$PACKSET 1}
  15. {$ifndef NO_SMART_LINK}
  16. {$smartlink on}
  17. {$endif}
  18. { stuff like array of const is used }
  19. {$mode objfpc}
  20. {$modeswitch ADVANCEDRECORDS}
  21. {$modeswitch class}
  22. { convention is cdecl for WinCE API}
  23. {$calling cdecl}
  24. {$ifdef FPC_OS_UNICODE}
  25. {$define UNICODE}
  26. {$endif}
  27. interface
  28. {$define read_interface}
  29. {$undef read_implementation}
  30. {$i base.inc}
  31. {$i errors.inc}
  32. {$i defines.inc}
  33. {$i struct.inc}
  34. {$i messages.inc}
  35. {$i coredll.inc}
  36. {$i cemiss.inc}
  37. {$i redef.inc}
  38. {$undef read_interface}
  39. implementation
  40. {$define read_implementation}
  41. {$i base.inc}
  42. {$i errors.inc}
  43. {$i defines.inc}
  44. {$i struct.inc}
  45. {$i messages.inc}
  46. {$i coredll.inc}
  47. {$i cemiss.inc}
  48. {$i redef.inc}
  49. {$undef read_implementation}
  50. begin
  51. end.