Revision (third) and build (fourth) fields were also dropped: - NDIS_MINIPORT_DRIVER_CHARACTERISTICS supports only a.b - MSI checks only a.b.c - GPO compares only a.b when checking if the new MSI is an update Signed-off-by: Simon Rozman <simon@rozman.si>
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0
 | |
|  *
 | |
|  * Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved.
 | |
|  */
 | |
| 
 | |
| #include <windows.h>
 | |
| #include <ntverp.h>
 | |
| 
 | |
| #define STRINGIZE(x) #x
 | |
| #define EXPAND(x) STRINGIZE(x)
 | |
| 
 | |
| #define VER_FILETYPE VFT_DRV
 | |
| #define VER_FILESUBTYPE VFT2_DRV_SYSTEM
 | |
| #define VER_FILEDESCRIPTION_STR "Wintun Driver"
 | |
| #define VER_INTERNALNAME_STR "wintun.sys"
 | |
| #define VER_ORIGINALFILENAME_STR "wintun.sys"
 | |
| 
 | |
| #undef VER_PRODUCTVERSION
 | |
| #define VER_PRODUCTVERSION WINTUN_VERSION_MAJ,WINTUN_VERSION_MIN,0,0
 | |
| 
 | |
| #undef VER_PRODUCTVERSION_STR
 | |
| #define VER_PRODUCTVERSION_STR EXPAND(WINTUN_VERSION_STR)
 | |
| 
 | |
| #define VER_LEGALCOPYRIGHT_STR "Copyright © 2018-2019 WireGuard LLC. All Rights Reserved."
 | |
| #ifdef VER_COMPANYNAME_STR
 | |
| #undef VER_COMPANYNAME_STR
 | |
| #define VER_COMPANYNAME_STR "WireGuard LLC"
 | |
| #endif
 | |
| 
 | |
| #undef VER_PRODUCTNAME_STR
 | |
| #define VER_PRODUCTNAME_STR "Wintun Driver"
 | |
| #define VER_LANGNEUTRAL
 | |
| 
 | |
| #include "common.ver"
 |