windows.pp 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. Changes :
  13. 08-15-2005 : ORO06
  14. update for wince4.2 port
  15. }
  16. unit windows;
  17. {$ifndef NO_SMART_LINK}
  18. {$smartlink on}
  19. {$endif}
  20. { stuff like array of const is used }
  21. {$mode objfpc}
  22. {$calling stdcall}
  23. interface
  24. {$define read_interface}
  25. {$undef read_implementation}
  26. {$ifdef UNDER_CE}
  27. {$define UNICODE} //ce is unicode only
  28. {$calling cedcl}
  29. {$endif UNDER_CE}
  30. {$i base.inc}
  31. {$i errors.inc}
  32. {$i defines.inc}
  33. {$i struct.inc}
  34. {$i messages.inc}
  35. {$ifndef UNDER_CE}
  36. {$i ascfun.inc}
  37. {$i unifun.inc}
  38. {$endif UNDER_CE}
  39. {$ifdef UNICODE}
  40. {$i unidef.inc}
  41. {$else not UNICODE}
  42. {$i ascdef.inc}
  43. {$endif UNICODE}
  44. {$i func.inc}
  45. {$i redef.inc}
  46. {$ifdef UNDER_CE}
  47. {$i aygshell.inc}
  48. {$i commctrl.inc}
  49. {$endif UNDER_CE}
  50. {$undef read_interface}
  51. implementation
  52. {$define read_implementation}
  53. {$i base.inc}
  54. {$i errors.inc}
  55. {$i defines.inc}
  56. {$i struct.inc}
  57. {$i messages.inc}
  58. {$ifndef UNDER_CE}
  59. {$i ascfun.inc}
  60. {$i unifun.inc}
  61. {$endif UNDER_CE}
  62. {$ifdef UNICODE}
  63. {$i unidef.inc}
  64. {$else not UNICODE}
  65. {$i ascdef.inc}
  66. {$endif UNICODE}
  67. {$i func.inc}
  68. {$i redef.inc}
  69. {$ifdef UNDER_CE}
  70. {$i aygshell.inc}
  71. {$i commctrl.inc}
  72. {$endif UNDER_CE}
  73. {$undef read_implementation}
  74. begin
  75. end.