mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 10:37:33 -07:00
NDIS6 driver signed x64 build (not fully tested yet, but committing work)
This commit is contained in:
parent
4b658d83bc
commit
42b4148876
12 changed files with 2075 additions and 69 deletions
|
@ -1,62 +1,88 @@
|
|||
#include <windows.h>
|
||||
#include <ntverp.h>
|
||||
// Microsoft Visual C++ generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// English (United States) resources
|
||||
|
||||
#include "config.h"
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
#pragma code_page(1252)
|
||||
|
||||
#undef VER_PRODUCTVERSION
|
||||
#undef VER_PRODUCTVERSION_STR
|
||||
#undef VER_COMPANYNAME_STR
|
||||
#undef VER_PRODUCTNAME_STR
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Version
|
||||
//
|
||||
|
||||
/* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR
|
||||
* and VER_INTERNALNAME_STR must be defined before including COMMON.VER
|
||||
* The strings don't need a '\0', since common.ver has them.
|
||||
*/
|
||||
|
||||
#define VER_FILETYPE VFT_DRV
|
||||
/* possible values: VFT_UNKNOWN
|
||||
VFT_APP
|
||||
VFT_DLL
|
||||
VFT_DRV
|
||||
VFT_FONT
|
||||
VFT_VXD
|
||||
VFT_STATIC_LIB
|
||||
*/
|
||||
#define VER_FILESUBTYPE VFT2_DRV_NETWORK
|
||||
/* possible values VFT2_UNKNOWN
|
||||
VFT2_DRV_PRINTER
|
||||
VFT2_DRV_KEYBOARD
|
||||
VFT2_DRV_LANGUAGE
|
||||
VFT2_DRV_DISPLAY
|
||||
VFT2_DRV_MOUSE
|
||||
VFT2_DRV_NETWORK
|
||||
VFT2_DRV_SYSTEM
|
||||
VFT2_DRV_INSTALLABLE
|
||||
VFT2_DRV_SOUND
|
||||
VFT2_DRV_COMM
|
||||
*/
|
||||
|
||||
#define VER_COMPANYNAME_STR "The OpenVPN Project"
|
||||
#define VER_FILEDESCRIPTION_STR "TAP-Windows Virtual Network Driver (NDIS 6.0)"
|
||||
#define VER_ORIGINALFILENAME_STR PRODUCT_TAP_WIN_COMPONENT_ID ".sys"
|
||||
#define VER_LEGALCOPYRIGHT_YEARS "2003-2014"
|
||||
#define VER_LEGALCOPYRIGHT_STR "OpenVPN Technologies, Inc."
|
||||
|
||||
|
||||
#define VER_PRODUCTNAME_STR VER_FILEDESCRIPTION_STR
|
||||
#define VER_PRODUCTVERSION PRODUCT_TAP_WIN_MAJOR,00,00,PRODUCT_TAP_WIN_MINOR
|
||||
|
||||
#define XSTR(s) STR(s)
|
||||
#define STR(s) #s
|
||||
|
||||
#define VSTRING PRODUCT_VERSION " " XSTR(PRODUCT_TAP_WIN_MAJOR) "/" XSTR(PRODUCT_TAP_WIN_MINOR)
|
||||
|
||||
#ifdef DBG
|
||||
#define VER_PRODUCTVERSION_STR VSTRING " (DEBUG)"
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 3,0,0,0
|
||||
PRODUCTVERSION 3,0,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x9L
|
||||
#else
|
||||
#define VER_PRODUCTVERSION_STR VSTRING
|
||||
FILEFLAGS 0x8L
|
||||
#endif
|
||||
FILEOS 0x40004L
|
||||
FILETYPE 0x3L
|
||||
FILESUBTYPE 0x6L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "ZeroTier Networks LLC"
|
||||
VALUE "FileDescription", "ZeroTier One Virtual Network Port"
|
||||
VALUE "FileVersion", "3.0.0 3/0"
|
||||
VALUE "InternalName", "zttap300.sys"
|
||||
VALUE "LegalCopyright", "ZeroTier, Inc., OpenVPN Technologies, Inc."
|
||||
VALUE "OriginalFilename", "zttap300.sys"
|
||||
VALUE "ProductName", "ZeroTier One Virtual Network Port"
|
||||
VALUE "ProductVersion", "3.0.0 3/0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
||||
#define VER_INTERNALNAME_STR VER_ORIGINALFILENAME_STR
|
||||
|
||||
#include "common.ver"
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
END
|
||||
|
||||
2 TEXTINCLUDE
|
||||
BEGIN
|
||||
"\0"
|
||||
END
|
||||
|
||||
3 TEXTINCLUDE
|
||||
BEGIN
|
||||
"\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // English (United States) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 3 resource.
|
||||
//
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue