windows.pp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. This unit contains the record definition for the Win32 API
  5. Copyright (c) 1999-2000 by Florian KLaempfl,
  6. member of the Free Pascal development team.
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. unit windows;
  14. {$ifndef NO_SMART_LINK}
  15. {$smartlink on}
  16. {$endif}
  17. { stuff like array of const is used }
  18. {$mode objfpc}
  19. {$calling stdcall}
  20. interface
  21. {$define read_interface}
  22. {$undef read_implementation}
  23. {$i base.inc}
  24. {$i errors.inc}
  25. {$i defines.inc}
  26. {$i struct.inc}
  27. {$i messages.inc}
  28. {$i ascfun.inc}
  29. {$i unifun.inc}
  30. {$ifdef UNICODE}
  31. {$i unidef.inc}
  32. {$else not UNICODE}
  33. {$i ascdef.inc}
  34. {$endif UNICODE}
  35. {$i func.inc}
  36. {$i redef.inc}
  37. implementation
  38. {$undef read_interface}
  39. {$define read_implementation}
  40. {$i base.inc}
  41. {$i errors.inc}
  42. {$i defines.inc}
  43. {$i struct.inc}
  44. {$i messages.inc}
  45. {$i ascfun.inc}
  46. {$i unifun.inc}
  47. {$ifdef UNICODE}
  48. {$i unidef.inc}
  49. {$else not UNICODE}
  50. {$i ascdef.inc}
  51. {$endif UNICODE}
  52. {$i func.inc}
  53. {$i redef.inc}
  54. end.
  55. {
  56. $Log$
  57. Revision 1.7 2004-08-08 16:52:51 florian
  58. * tried to fix some wsprintf issues
  59. + now compiled in objfpc mode
  60. so some integer => smallint changes where necessary; hopefully,
  61. I didn't forget one
  62. Revision 1.6 2003/09/17 15:06:36 peter
  63. * stdcall patch
  64. Revision 1.5 2002/11/04 12:19:01 marco
  65. * Move tmsg and family to messages.inc. windows.pp needed include sequence patch
  66. Revision 1.4 2002/10/10 14:58:16 florian
  67. - removed conditionals for 0.99.14
  68. Revision 1.3 2002/09/07 16:01:29 peter
  69. * old logs removed and tabs fixed
  70. }