1 | #include <windows.h>
|
---|
2 | #include <ntverp.h>
|
---|
3 |
|
---|
4 | /* get VERSION */
|
---|
5 | #include "config-win32.h"
|
---|
6 | #include "common.h"
|
---|
7 |
|
---|
8 | /* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR
|
---|
9 | * and VER_INTERNALNAME_STR must be defined before including COMMON.VER
|
---|
10 | * The strings don't need a '\0', since common.ver has them.
|
---|
11 | */
|
---|
12 |
|
---|
13 | #define VER_FILETYPE VFT_DRV
|
---|
14 | /* possible values: VFT_UNKNOWN
|
---|
15 | VFT_APP
|
---|
16 | VFT_DLL
|
---|
17 | VFT_DRV
|
---|
18 | VFT_FONT
|
---|
19 | VFT_VXD
|
---|
20 | VFT_STATIC_LIB
|
---|
21 | */
|
---|
22 | #define VER_FILESUBTYPE VFT2_DRV_NETWORK
|
---|
23 | /* possible values VFT2_UNKNOWN
|
---|
24 | VFT2_DRV_PRINTER
|
---|
25 | VFT2_DRV_KEYBOARD
|
---|
26 | VFT2_DRV_LANGUAGE
|
---|
27 | VFT2_DRV_DISPLAY
|
---|
28 | VFT2_DRV_MOUSE
|
---|
29 | VFT2_DRV_NETWORK
|
---|
30 | VFT2_DRV_SYSTEM
|
---|
31 | VFT2_DRV_INSTALLABLE
|
---|
32 | VFT2_DRV_SOUND
|
---|
33 | VFT2_DRV_COMM
|
---|
34 | */
|
---|
35 |
|
---|
36 | #define VER_COMPANYNAME_STR "InnoTek Systemberatung GmbH"
|
---|
37 | #define VER_FILEDESCRIPTION_STR "VirtualBox Host Interface Networking Driver"
|
---|
38 | #define VER_ORIGINALFILENAME_STR TAP_COMPONENT_ID ".sys"
|
---|
39 | #define VER_LEGALCOPYRIGHT_YEARS "2006"
|
---|
40 | #define VER_LEGALCOPYRIGHT_STR "InnoTek Systemberatung GmbH & Others"
|
---|
41 |
|
---|
42 |
|
---|
43 | #define VER_PRODUCTNAME_STR VER_FILEDESCRIPTION_STR
|
---|
44 | #define VER_PRODUCTVERSION TAP_DRIVER_MAJOR_VERSION,00,00,TAP_DRIVER_MINOR_VERSION
|
---|
45 |
|
---|
46 | #define XSTR(s) STR(s)
|
---|
47 | #define STR(s) #s
|
---|
48 |
|
---|
49 | #define VSTRING XSTR(TAP_DRIVER_MAJOR_VERSION) "/" XSTR(TAP_DRIVER_MINOR_VERSION)
|
---|
50 |
|
---|
51 | #ifdef DBG
|
---|
52 | #define VER_PRODUCTVERSION_STR VSTRING " (DEBUG)"
|
---|
53 | #else
|
---|
54 | #define VER_PRODUCTVERSION_STR VSTRING
|
---|
55 | #endif
|
---|
56 |
|
---|
57 | #define VER_INTERNALNAME_STR VER_ORIGINALFILENAME_STR
|
---|
58 |
|
---|
59 | #include "common.ver"
|
---|