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.

82 lines
1.5 KiB

  1. /***
  2. *hostenv.h
  3. *
  4. * Copyright (C) 1992-93, Microsoft Corporation. All Rights Reserved.
  5. *
  6. *Purpose:
  7. * Generic host specific includes.
  8. *
  9. *Implementation Notes:
  10. *
  11. *****************************************************************************/
  12. #if defined(_MAC)
  13. # include <values.h>
  14. # include <types.h>
  15. # include <strings.h>
  16. # include <quickdraw.h>
  17. # include <fonts.h>
  18. # include <events.h>
  19. # include <resources.h>
  20. # include <windows.h>
  21. # include <menus.h>
  22. # include <textedit.h>
  23. # include <dialogs.h>
  24. # include <desk.h>
  25. # include <toolutils.h>
  26. # include <memory.h>
  27. # include <files.h>
  28. # include <osutils.h>
  29. # include <osevents.h>
  30. # include <diskinit.h>
  31. # include <packages.h>
  32. # include <traps.h>
  33. # include <AppleEvents.h>
  34. #include <stdio.h>
  35. #define HINSTANCE long
  36. #define HWND long
  37. #define ULONG unsigned long
  38. #define LONG long
  39. #define UINT unsigned int
  40. #define NEARDATA
  41. #define NEAR
  42. #define EXPORT
  43. #define FAR
  44. #define LPVOID void FAR *
  45. #define UNUSED(X) ((void)(void*)&(X))
  46. #define WORD unsigned short
  47. #define BOOL unsigned long
  48. #define DWORD unsigned long
  49. #define TRUE 1
  50. #define FALSE 0
  51. #define SHORT short
  52. #ifndef _PPCMAC
  53. #define PASCAL pascal
  54. #define CDECL
  55. #else
  56. #define PASCAL
  57. #define CDECL
  58. #endif
  59. #else
  60. #include <windows.h>
  61. #ifndef CDECL
  62. #define CDECL _cdecl
  63. #endif
  64. #endif
  65. #include <ole2.h>
  66. #include <stdarg.h>
  67. #include <stdio.h>
  68. #if !defined(WIN32)
  69. #include <olenls.h>
  70. #include <dispatch.h>
  71. #else
  72. #include <oleauto.h>
  73. #if defined(_ALPHA_)
  74. //#include <cobjerr.h>
  75. #endif
  76. #endif