aboutsummaryrefslogtreecommitdiffstats
path: root/api/entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/entry.h')
-rw-r--r--api/entry.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/api/entry.h b/api/entry.h
new file mode 100644
index 0000000..0e0e3a6
--- /dev/null
+++ b/api/entry.h
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
+ */
+
+#pragma once
+
+#include <Windows.h>
+
+#ifndef __L
+# define __L(x) L##x
+#endif
+#ifndef _L
+# define _L(x) __L(x)
+#endif
+
+#if defined(_M_IX86) || defined(_M_ARM)
+#define MAYBE_WOW64
+#endif
+#if defined(_M_AMD64) || defined(_M_ARM64) || defined(_DEBUG)
+#define ACCEPT_WOW64
+#endif
+
+extern HINSTANCE ResourceModule;
+extern HANDLE ModuleHeap;
+extern SECURITY_ATTRIBUTES SecurityAttributes;