2020-07-03 12:26:06 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0
|
|
|
|
*
|
2021-01-30 16:45:26 +01:00
|
|
|
* Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
|
2020-07-03 12:26:06 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <ntverp.h>
|
|
|
|
|
2021-03-19 11:55:58 +01:00
|
|
|
#pragma code_page(1252)
|
|
|
|
|
2021-07-28 13:50:40 +02:00
|
|
|
wintun.cat RCDATA "driver\\wintun.cat"
|
|
|
|
wintun.inf RCDATA "driver\\wintun.inf"
|
|
|
|
wintun.sys RCDATA "driver\\wintun.sys"
|
2020-10-13 19:42:30 +02:00
|
|
|
|
2021-08-02 01:05:02 +02:00
|
|
|
downlevelshim.dll RCDATA "downlevelshim.dll"
|
|
|
|
|
2021-07-28 13:50:40 +02:00
|
|
|
#if defined(WANT_AMD64_WOW64)
|
|
|
|
# if defined(BUILT_AMD64_WOW64)
|
2020-10-16 13:30:51 +02:00
|
|
|
wintun-amd64.dll RCDATA "amd64\\wintun.dll"
|
2021-07-28 13:50:40 +02:00
|
|
|
# else
|
|
|
|
# pragma message("AMD64 wintun.dll was not built, so this will not work from WOW64")
|
|
|
|
# endif
|
2020-10-16 13:30:51 +02:00
|
|
|
#endif
|
2021-07-28 13:50:40 +02:00
|
|
|
#if defined(WANT_ARM64_WOW64)
|
|
|
|
# if defined(BUILT_ARM64_WOW64)
|
2020-10-16 13:30:51 +02:00
|
|
|
wintun-arm64.dll RCDATA "arm64\\wintun.dll"
|
2021-07-28 13:50:40 +02:00
|
|
|
# else
|
|
|
|
# pragma message("ARM64 wintun.dll was not built, so this will not work from WOW64")
|
|
|
|
# endif
|
2020-10-16 13:30:51 +02:00
|
|
|
#endif
|
|
|
|
|
2020-07-03 12:26:06 +02:00
|
|
|
#define STRINGIZE(x) #x
|
|
|
|
#define EXPAND(x) STRINGIZE(x)
|
|
|
|
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
2021-03-19 11:52:11 +01:00
|
|
|
FILEVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, WINTUN_VERSION_REL, 0
|
|
|
|
PRODUCTVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, WINTUN_VERSION_REL, 0
|
2020-07-03 12:26:06 +02:00
|
|
|
FILEOS VOS_NT_WINDOWS32
|
|
|
|
FILETYPE VFT_DLL
|
|
|
|
FILESUBTYPE VFT2_UNKNOWN
|
|
|
|
BEGIN
|
|
|
|
BLOCK "StringFileInfo"
|
|
|
|
BEGIN
|
|
|
|
BLOCK "040904b0"
|
|
|
|
BEGIN
|
|
|
|
VALUE "CompanyName", "WireGuard LLC"
|
|
|
|
VALUE "FileDescription", "Wintun API Library"
|
2021-03-19 11:52:11 +01:00
|
|
|
VALUE "FileVersion", EXPAND(WINTUN_VERSION)
|
2020-07-03 12:26:06 +02:00
|
|
|
VALUE "InternalName", "wintun.dll"
|
2021-01-30 16:45:26 +01:00
|
|
|
VALUE "LegalCopyright", "Copyright \xa9 2018-2021 WireGuard LLC. All Rights Reserved."
|
2020-07-03 12:26:06 +02:00
|
|
|
VALUE "OriginalFilename", "wintun.dll"
|
|
|
|
VALUE "ProductName", "Wintun Driver"
|
2021-03-19 11:52:11 +01:00
|
|
|
VALUE "ProductVersion", EXPAND(WINTUN_VERSION)
|
2020-07-03 12:26:06 +02:00
|
|
|
VALUE "Comments", "https://www.wintun.net/"
|
|
|
|
END
|
|
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
|
|
BEGIN
|
|
|
|
VALUE "Translation", 0x409, 1200
|
|
|
|
END
|
|
|
|
END
|