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