1
0
mirror of https://git.zx2c4.com/wireguard-nt synced 2024-11-11 11:59:25 +00:00
wireguard-nt/api/resources.rc
Jason A. Donenfeld c3874d1da5 downlevelshim: remove in preparation for full WHQL
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-10-13 17:29:10 +00:00

66 lines
2.1 KiB
Plaintext

/* 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