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.

268 lines
6.8 KiB

  1. ;begin_both
  2. /*++ BUILD Version: 0001 Increment this if a change has global effects
  3. Copyright (c) Microsoft Corporation. All rights reserved.
  4. Module Name:
  5. ;end_both
  6. windows.h
  7. windowsp.h ;internal_NT
  8. ;begin_both
  9. Abstract:
  10. Master include file for Windows applications.
  11. --*/
  12. ;end_both
  13. #ifndef _WINDOWS_
  14. #define _WINDOWS_
  15. #ifndef _WINDOWSP_ ;internal_NT
  16. #define _WINDOWSP_ ;internal_NT
  17. #ifndef _X86_ ;public_chicago
  18. #define _X86_ ;public_chicago
  19. #endif ;public_chicago
  20. ;public_chicago
  21. #ifndef WINVER ;public_win40
  22. #define WINVER 0x0501 ;public_win40
  23. #else ;public_win40
  24. #if defined(_WIN32_WINNT) && (WINVER < 0x0400) && (_WIN32_WINNT > 0x0400) ;public_win40
  25. #error WINVER setting conflicts with _WIN32_WINNT setting ;public_win40
  26. #endif ;public_win40
  27. #endif ;public_win40
  28. ;public_win40
  29. #ifndef _INC_WINDOWS
  30. #define _INC_WINDOWS
  31. #if defined (_MSC_VER) && (_MSC_VER >= 1020)
  32. #pragma once
  33. #endif
  34. /* If defined, the following flags inhibit definition
  35. * of the indicated items.
  36. *
  37. * NOGDICAPMASKS - CC_*, LC_*, PC_*, CP_*, TC_*, RC_
  38. * NOVIRTUALKEYCODES - VK_*
  39. * NOWINMESSAGES - WM_*, EM_*, LB_*, CB_*
  40. * NOWINSTYLES - WS_*, CS_*, ES_*, LBS_*, SBS_*, CBS_*
  41. * NOSYSMETRICS - SM_*
  42. * NOMENUS - MF_*
  43. * NOICONS - IDI_*
  44. * NOKEYSTATES - MK_*
  45. * NOSYSCOMMANDS - SC_*
  46. * NORASTEROPS - Binary and Tertiary raster ops
  47. * NOSHOWWINDOW - SW_*
  48. * OEMRESOURCE - OEM Resource values
  49. * NOATOM - Atom Manager routines
  50. * NOCLIPBOARD - Clipboard routines
  51. * NOCOLOR - Screen colors
  52. * NOCTLMGR - Control and Dialog routines
  53. * NODRAWTEXT - DrawText() and DT_*
  54. * NOGDI - All GDI defines and routines
  55. * NOKERNEL - All KERNEL defines and routines
  56. * NOUSER - All USER defines and routines
  57. * NONLS - All NLS defines and routines
  58. * NOMB - MB_* and MessageBox()
  59. * NOMEMMGR - GMEM_*, LMEM_*, GHND, LHND, associated routines
  60. * NOMETAFILE - typedef METAFILEPICT
  61. * NOMINMAX - Macros min(a,b) and max(a,b)
  62. * NOMSG - typedef MSG and associated routines
  63. * NOOPENFILE - OpenFile(), OemToAnsi, AnsiToOem, and OF_*
  64. * NOSCROLL - SB_* and scrolling routines
  65. * NOSERVICE - All Service Controller routines, SERVICE_ equates, etc.
  66. * NOSOUND - Sound driver routines
  67. * NOTEXTMETRIC - typedef TEXTMETRIC and associated routines
  68. * NOWH - SetWindowsHook and WH_*
  69. * NOWINOFFSETS - GWL_*, GCL_*, associated routines
  70. * NOCOMM - COMM driver routines
  71. * NOKANJI - Kanji support stuff.
  72. * NOHELP - Help engine interface.
  73. * NOPROFILER - Profiler interface.
  74. * NODEFERWINDOWPOS - DeferWindowPos routines
  75. * NOMCX - Modem Configuration Extensions ;public_win40
  76. */
  77. #if defined(RC_INVOKED) && !defined(NOWINRES)
  78. #include <winresrc.h>
  79. #else
  80. #if defined(RC_INVOKED)
  81. /* Turn off a bunch of stuff to ensure that RC files compile OK. */
  82. #define NOATOM
  83. #define NOGDI
  84. #define NOGDICAPMASKS
  85. #define NOMETAFILE
  86. #define NOMINMAX
  87. #define NOMSG
  88. #define NOOPENFILE
  89. #define NORASTEROPS
  90. #define NOSCROLL
  91. #define NOSOUND
  92. #define NOSYSMETRICS
  93. #define NOTEXTMETRIC
  94. #define NOWH
  95. #define NOCOMM
  96. #define NOKANJI
  97. #define NOCRYPT
  98. #define NOMCX ;public_win40
  99. #endif
  100. #if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && defined(_M_IX86)
  101. #define _X86_
  102. #endif
  103. #if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && defined(_M_AMD64)
  104. #define _AMD64_
  105. #endif
  106. #if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && defined(_M_M68K)
  107. #define _68K_
  108. #endif
  109. #if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_IA64_) && !defined(_AMD64_) && defined(_M_MPPC)
  110. #define _MPPC_
  111. #endif
  112. #if !defined(_68K_) && !defined(_MPPC_) && !defined(_X86_) && !defined(_M_IX86) && !defined(_AMD64_) && defined(_M_IA64)
  113. #if !defined(_IA64_)
  114. #define _IA64_
  115. #endif // !_IA64_
  116. #endif
  117. #ifndef _MAC
  118. #if defined(_68K_) || defined(_MPPC_)
  119. #define _MAC
  120. #endif
  121. #endif
  122. #if defined (_MSC_VER)
  123. #if ( _MSC_VER >= 800 )
  124. #ifndef __cplusplus
  125. #pragma warning(disable:4116) // TYPE_ALIGNMENT generates this - move it
  126. // outside the warning push/pop scope.
  127. #endif
  128. #endif
  129. #endif
  130. #ifndef RC_INVOKED
  131. #if ( _MSC_VER >= 800 )
  132. #pragma warning(disable:4514)
  133. #ifndef __WINDOWS_DONT_DISABLE_PRAGMA_PACK_WARNING__
  134. #pragma warning(disable:4103)
  135. #endif
  136. #if _MSC_VER >= 1200
  137. #pragma warning(push)
  138. #endif
  139. #pragma warning(disable:4001)
  140. #pragma warning(disable:4201)
  141. #pragma warning(disable:4214)
  142. #endif
  143. #include <excpt.h>
  144. #include <stdarg.h>
  145. #endif /* RC_INVOKED */
  146. #include <windef.h>
  147. #include <winbase.h>
  148. #include <wingdi.h>
  149. #include <winuser.h>
  150. #if !defined(_MAC) || defined(_WIN32NLS)
  151. #include <winnls.h>
  152. #endif
  153. #ifndef _MAC
  154. #include <wincon.h>
  155. #include <winver.h>
  156. #endif
  157. #if !defined(_MAC) || defined(_WIN32REG)
  158. #include <winreg.h>
  159. #endif
  160. #ifndef _MAC
  161. #include <winnetwk.h>
  162. #endif
  163. #ifndef WIN32_LEAN_AND_MEAN
  164. #include <cderr.h>
  165. #include <dde.h>
  166. #include <ddeml.h>
  167. #include <dlgs.h>
  168. #ifndef _MAC
  169. #include <lzexpand.h>
  170. #include <mmsystem.h>
  171. #include <nb30.h>
  172. #include <rpc.h>
  173. #endif
  174. #include <shellapi.h>
  175. #ifndef _MAC
  176. #include <winperf.h>
  177. #include <winsock.h>
  178. #endif
  179. #ifndef NOCRYPT
  180. #include <wincrypt.h>
  181. #include <winefs.h>
  182. #include <winscard.h>
  183. #endif
  184. #ifndef NOGDI
  185. #ifndef _MAC
  186. #include <winspool.h>
  187. #ifdef INC_OLE1
  188. #include <ole.h>
  189. #else
  190. #include <ole2.h>
  191. #endif /* !INC_OLE1 */
  192. #endif /* !MAC */
  193. #include <commdlg.h>
  194. #endif /* !NOGDI */
  195. #endif /* WIN32_LEAN_AND_MEAN */
  196. #include <stralign.h>
  197. #ifdef _MAC
  198. #include <winwlm.h>
  199. #endif
  200. #ifdef INC_OLE2
  201. #include <ole2.h>
  202. #endif /* INC_OLE2 */
  203. #ifndef _MAC
  204. #ifndef NOSERVICE
  205. #include <winsvc.h>
  206. #endif
  207. ;begin_winver_400
  208. #ifndef NOMCX
  209. #include <mcx.h>
  210. #endif /* NOMCX */
  211. #ifndef NOIME
  212. #include <imm.h>
  213. #endif
  214. ;end_winver_400
  215. #endif
  216. #ifndef RC_INVOKED
  217. #if ( _MSC_VER >= 800 )
  218. #if _MSC_VER >= 1200
  219. #pragma warning(pop)
  220. #else
  221. #pragma warning(default:4001)
  222. #pragma warning(default:4201)
  223. #pragma warning(default:4214)
  224. /* Leave 4514 disabled. It's an unneeded warning anyway. */
  225. #endif
  226. #endif
  227. #endif /* RC_INVOKED */
  228. #endif /* RC_INVOKED */
  229. #endif /* _INC_WINDOWS */
  230. #endif /* _WINDOWSP_ */ ;internal_NT
  231. #endif /* _WINDOWS_ */