aboutsummaryrefslogtreecommitdiffstats
path: root/driver/wintun.rc
diff options
context:
space:
mode:
Diffstat (limited to 'driver/wintun.rc')
-rw-r--r--driver/wintun.rc38
1 files changed, 38 insertions, 0 deletions
diff --git a/driver/wintun.rc b/driver/wintun.rc
new file mode 100644
index 0000000..7abbcae
--- /dev/null
+++ b/driver/wintun.rc
@@ -0,0 +1,38 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
+ */
+
+#include <windows.h>
+#include <ntverp.h>
+
+#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_DRV
+FILESUBTYPE VFT2_DRV_SYSTEM
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "CompanyName", "WireGuard LLC"
+ VALUE "FileDescription", "Wintun Driver"
+ VALUE "FileVersion", EXPAND(WINTUN_VERSION_STR)
+ VALUE "InternalName", "wintun.sys"
+ VALUE "LegalCopyright", "Copyright \xa9 2018-2020 WireGuard LLC. All Rights Reserved."
+ VALUE "OriginalFilename", "wintun.sys"
+ 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