bf4eabb4ca
We must not use the process heap, as it is changeable. Client may change it causing our HeapFree() to use wrong heap. Signed-off-by: Simon Rozman <simon@rozman.si>
20 lines
337 B
C
20 lines
337 B
C
/* 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
|
|
|
|
extern HINSTANCE ResourceModule;
|
|
extern HANDLE ModuleHeap;
|
|
extern SECURITY_ATTRIBUTES *SecurityAttributes;
|