forked from WireGuard/wireguard-nt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresources.rc
65 lines (59 loc) · 2.09 KB
/
resources.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
*/
#include <windows.h>
#include <ntverp.h>
#pragma code_page(1252)
wireguard.cat RCDATA "driver\\wireguard.cat"
wireguard.inf RCDATA "driver\\wireguard.inf"
wireguard.sys RCDATA "driver\\wireguard.sys"
#if defined(WANT_AMD64_WOW64)
# if defined(BUILT_AMD64_WOW64)
wireguard-amd64.cat RCDATA "amd64\\driver\\wireguard.cat"
wireguard-amd64.inf RCDATA "amd64\\driver\\wireguard.inf"
wireguard-amd64.sys RCDATA "amd64\\driver\\wireguard.sys"
setupapihost-amd64.dll RCDATA "amd64\\setupapihost.dll"
# else
# pragma message("AMD64 wireguard.sys was not built, so this will not work from WOW64")
# endif
#endif
#if defined(WANT_ARM64_WOW64)
# if defined(BUILT_ARM64_WOW64)
wireguard-arm64.cat RCDATA "arm64\\driver\\wireguard.cat"
wireguard-arm64.inf RCDATA "arm64\\driver\\wireguard.inf"
wireguard-arm64.sys RCDATA "arm64\\driver\\wireguard.sys"
setupapihost-arm64.dll RCDATA "arm64\\setupapihost.dll"
# else
# pragma message("ARM64 wireguard.sys was not built, so this will not work from WOW64")
# endif
#endif
#define STRINGIZE(x) #x
#define EXPAND(x) STRINGIZE(x)
VS_VERSION_INFO VERSIONINFO
FILEVERSION WIREGUARD_VERSION_MAJ, WIREGUARD_VERSION_MIN, WIREGUARD_VERSION_REL, 0
PRODUCTVERSION WIREGUARD_VERSION_MAJ, WIREGUARD_VERSION_MIN, WIREGUARD_VERSION_REL, 0
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "WireGuard LLC"
VALUE "FileDescription", "WireGuard API Library"
VALUE "FileVersion", EXPAND(WIREGUARD_VERSION)
VALUE "InternalName", "wireguard.dll"
VALUE "LegalCopyright", "Copyright \xa9 2018-2021 WireGuard LLC. All Rights Reserved."
VALUE "OriginalFilename", "wireguard.dll"
VALUE "ProductName", "WireGuard Driver"
VALUE "ProductVersion", EXPAND(WIREGUARD_VERSION)
VALUE "Comments", "https://www.wireguard.net/"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END