Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
WindowsSystemIncludes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "API/UE/CoreTypes.h"
6#include "API/UE/Windows/WindowsPlatformCompilerSetup.h"
7#include "API/UE/Windows/MinimalWindowsApi.h"
8
9// Macro for releasing COM objects
10#define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
11
12// Current instance
14
15// SIMD intrinsics
16//THIRD_PARTY_INCLUDES_START
17#include <intrin.h>
18
19#include <stdint.h>
20#include "API/UE/HAL/HideTCHAR.h"
21#include <tchar.h>
22#include "API/UE/HAL/AllowTCHAR.h"
23
24// When compiling under Windows, these headers cause us particular problems. We need to make sure they're included before we pull in our
25// 'DoNotUseOldUE4Type' namespace. This is because these headers will redeclare various numeric typedefs, but under the Clang and Visual
26// Studio compilers it is not allowed to define a typedef with a global scope operator in it (such as ::INT). So we'll get these headers
27// included early on to avoid compiler errors with that.
28#if defined(__clang__) || (defined(_MSC_VER) && (_MSC_VER >= 1900))
29#include <intsafe.h>
30#include <strsafe.h>
31#endif
32
34// Source annotation support
35#include <CodeAnalysis/SourceAnnotations.h>
36
37// Allows for disabling code analysis warnings by defining ALL_CODE_ANALYSIS_WARNINGS
38#include <CodeAnalysis/Warnings.h>
39
40// We import the vc_attributes namespace so we can use annotations more easily. It only defines
41// MSVC-specific attributes so there should never be collisions.
42using namespace vc_attributes;
43#endif
44//THIRD_PARTY_INCLUDES_END
#define USING_CODE_ANALYSIS
Windows::HINSTANCE hInstance
HINSTANCE__ * HINSTANCE