home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / sdk / winh / windows.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-24  |  4.6 KB  |  182 lines

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