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>
|
|
|
|
|
2020-10-13 19:42:30 +02:00
|
|
|
wintun.cat RCDATA "wintun\\wintun.cat"
|
|
|
|
wintun.inf RCDATA "wintun\\wintun.inf"
|
|
|
|
wintun.sys RCDATA "wintun\\wintun.sys"
|
|
|
|
|
|
|
|
#ifdef HAVE_WHQL
|
|
|
|
wintun-whql.cat RCDATA "whql\\wintun.cat"
|
|
|
|
wintun-whql.inf RCDATA "whql\\wintun.inf"
|
|
|
|
wintun-whql.sys RCDATA "whql\\wintun.sys"
|
|
|
|
#endif
|
|
|
|
|
2020-10-16 13:30:51 +02:00
|
|
|
#if defined(_M_IX86)
|
|
|
|
wintun-amd64.dll RCDATA "amd64\\wintun.dll"
|
|
|
|
#endif
|
2020-11-05 16:34:00 +01:00
|
|
|
#if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_ARM)
|
2020-10-16 13:30:51 +02:00
|
|
|
wintun-arm64.dll RCDATA "arm64\\wintun.dll"
|
|
|
|
#endif
|
|
|
|
|
2020-07-03 12:26:06 +02:00
|
|
|
#define STRINGIZE(x) #x
|
|
|
|
#define EXPAND(x) STRINGIZE(x)
|
|
|
|
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
|
|
FILEVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, 0, 0
|
|
|
|
PRODUCTVERSION WINTUN_VERSION_MAJ, WINTUN_VERSION_MIN, 0, 0
|
|
|
|
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"
|
|
|
|
VALUE "FileVersion", EXPAND(WINTUN_VERSION_STR)
|
|
|
|
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"
|
|
|
|
VALUE "ProductVersion", EXPAND(WINTUN_VERSION_STR)
|
|
|
|
VALUE "Comments", "https://www.wintun.net/"
|
|
|
|
END
|
|
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
|
|
BEGIN
|
|
|
|
VALUE "Translation", 0x409, 1200
|
|
|
|
END
|
|
|
|
END
|