ya_makaron

Untitled

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