home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Compilers / digital marsC compier / dm / include / win32 / Windows.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-08  |  4.8 KB  |  195 lines

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