Monado OpenXR Runtime
xrt_windows.h
Go to the documentation of this file.
1
// Copyright 2020, Collabora, Ltd.
2
// SPDX-License-Identifier: BSL-1.0
3
/*!
4
* @file
5
* @brief A minimal way to include Windows.h.
6
* @author Rylie Pavlik <rylie.pavlik@collabora.com>
7
* @ingroup xrt_iface
8
*/
9
10
#pragma once
11
12
#include "
xrt_config_os.h
"
13
14
#ifdef XRT_OS_WINDOWS
15
#ifndef NOBITMAP
16
#define NOBITMAP
17
#endif
// !NOBITMAP
18
19
#ifndef NODRAWTEXT
20
#define NODRAWTEXT
21
#endif
// !NODRAWTEXT
22
23
#ifndef NOHELP
24
#define NOHELP
25
#endif
// !NOHELP
26
27
#ifndef NOMCX
28
#define NOMCX
29
#endif
// !NOMCX
30
31
#ifndef NOMINMAX
32
#define NOMINMAX
33
#endif
// !NOMINMAX
34
35
#ifndef NOSERVICE
36
#define NOSERVICE
37
#endif
// !NOSERVICE
38
39
#ifndef WIN32_LEAN_AND_MEAN
40
#define WIN32_LEAN_AND_MEAN
41
#endif
// !WIN32_LEAN_AND_MEAN
42
43
#include <Windows.h>
44
45
#endif
// XRT_OS_WINDOWS
xrt_config_os.h
Auto detect OS and certain features.
xrt
xrt_windows.h
Generated by
1.9.4