2020-07-03 12:26:06 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0
|
|
|
|
*
|
|
|
|
* Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
2020-10-13 19:40:52 +02:00
|
|
|
#ifndef __L
|
|
|
|
# define __L(x) L##x
|
|
|
|
#endif
|
|
|
|
#ifndef _L
|
|
|
|
# define _L(x) __L(x)
|
|
|
|
#endif
|
|
|
|
|
2020-10-30 09:33:21 +01:00
|
|
|
#if defined(_M_IX86) || defined(_M_ARM)
|
|
|
|
#define MAYBE_WOW64
|
|
|
|
#endif
|
|
|
|
#if defined(_M_AMD64) || defined(_M_ARM64) || defined(_DEBUG)
|
|
|
|
#define ACCEPT_WOW64
|
|
|
|
#endif
|
|
|
|
|
2020-07-29 10:10:42 +02:00
|
|
|
extern HINSTANCE ResourceModule;
|
2020-10-24 22:12:47 +02:00
|
|
|
extern HANDLE ModuleHeap;
|
2020-10-15 15:34:31 +02:00
|
|
|
extern SECURITY_ATTRIBUTES *SecurityAttributes;
|