Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
MinWindows.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5// #TODO: redirect to platform-agnostic version for the time being. Eventually this will become an error
6#include "HAL/Platform.h"
8 #include "Microsoft/MinWindows.h"
9#else
10
11#include "CoreTypes.h"
12
13#if defined(_WINDOWS_) && !defined(UE_MINIMAL_WINDOWS_INCLUDE)
14 #pragma message ( " " )
15 #pragma message ( "You have included windows.h before MinWindows.h" )
16 #pragma message ( "All useless stuff from the windows headers won't be excluded !!!" )
17 #pragma message ( " " )
18#endif // _WINDOWS_
19
20#define UE_MINIMAL_WINDOWS_INCLUDE
21
22// WIN32_LEAN_AND_MEAN excludes rarely-used services from windows headers.
23#define WIN32_LEAN_AND_MEAN
24
25// The below excludes some other unused services from the windows headers -- see windows.h for details.
26#define NOGDICAPMASKS // CC_*, LC_*, PC_*, CP_*, TC_*, RC_
27//#define NOVIRTUALKEYCODES // VK_*
28//#define NOWINMESSAGES // WM_*, EM_*, LB_*, CB_*
29//#define NOWINSTYLES // WS_*, CS_*, ES_*, LBS_*, SBS_*, CBS_*
30//#define NOSYSMETRICS // SM_*
31// #define NOMENUS // MF_*
32//#define NOICONS // IDI_*
33//#define NOKEYSTATES // MK_*
34//#define NOSYSCOMMANDS // SC_*
35//#define NORASTEROPS // Binary and Tertiary raster ops
36//#define NOSHOWWINDOW // SW_*
37#define OEMRESOURCE // OEM Resource values
38#define NOATOM // Atom Manager routines
39//#define NOCLIPBOARD // Clipboard routines
40//#define NOCOLOR // Screen colors
41//#define NOCTLMGR // Control and Dialog routines
42//#define NODRAWTEXT // DrawText() and DT_*
43//#define NOGDI // All GDI #defines and routines
44#define NOKERNEL // All KERNEL #defines and routines
45//#define NOUSER // All USER #defines and routines
46//#define NONLS // All NLS #defines and routines
47//#define NOMB // MB_* and MessageBox()
48#define NOMEMMGR // GMEM_*, LMEM_*, GHND, LHND, associated routines
49#define NOMETAFILE // typedef METAFILEPICT
50#define NOMINMAX // Macros min(a,b) and max(a,b)
51//#define NOMSG // typedef MSG and associated routines
52#define NOOPENFILE // OpenFile(), OemToAnsi, AnsiToOem, and OF_*
53#define NOSCROLL // SB_* and scrolling routines
54#define NOSERVICE // All Service Controller routines, SERVICE_ equates, etc.
55#define NOSOUND // Sound driver routines
56//#define NOTEXTMETRIC // typedef TEXTMETRIC and associated routines
57//#define NOWH // SetWindowsHook and WH_*
58//#define NOWINOFFSETS // GWL_*, GCL_*, associated routines
59#define NOCOMM // COMM driver routines
60#define NOKANJI // Kanji support stuff.
61#define NOHELP // Help engine interface.
62#define NOPROFILER // Profiler interface.
63#define NODEFERWINDOWPOS // DeferWindowPos routines
64#define NOMCX // Modem Configuration Extensions
65#define NOCRYPT
66#define NOTAPE
67#define NOIMAGE
68#define NOPROXYSTUB
69#define NORPC
70
71struct IUnknown;
72
73// Finally now we can include windows.h
74#include <Windows.h>
75
76
77#endif //PLATFORM_*
#define PLATFORM_WINDOWS
Definition Platform.h:4