VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxTAP/VBoxTAP.rc@ 4663

Last change on this file since 4663 was 4479, checked in by vboxsync, 17 years ago

added copyright header

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1/*
2 * TAP-Win32 -- A kernel driver to provide virtual tap device functionality
3 * on Windows. Originally derived from the CIPE-Win32
4 * project by Damion K. Wilson, with extensive modifications by
5 * James Yonan.
6 *
7 * All source code which derives from the CIPE-Win32 project is
8 * Copyright (C) Damion K. Wilson, 2003, and is released under the
9 * GPL version 2 (see below).
10 *
11 * All other source code is Copyright (C) 2002-2005 OpenVPN Solutions LLC,
12 * and is released under the GPL version 2 (see below).
13 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2
16 * as published by the Free Software Foundation.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program (see the file COPYING included with this
25 * distribution); if not, write to the Free Software Foundation, Inc.,
26 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 */
28
29#include <windows.h>
30#include <ntverp.h>
31
32/* get VERSION */
33#include "config-win32.h"
34#include "common.h"
35
36#ifdef VBOX
37#include <VBox/tapwin32.h>
38#endif
39
40/* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR
41 * and VER_INTERNALNAME_STR must be defined before including COMMON.VER
42 * The strings don't need a '\0', since common.ver has them.
43 */
44
45#define VER_FILETYPE VFT_DRV
46/* possible values: VFT_UNKNOWN
47 VFT_APP
48 VFT_DLL
49 VFT_DRV
50 VFT_FONT
51 VFT_VXD
52 VFT_STATIC_LIB
53*/
54#define VER_FILESUBTYPE VFT2_DRV_NETWORK
55/* possible values VFT2_UNKNOWN
56 VFT2_DRV_PRINTER
57 VFT2_DRV_KEYBOARD
58 VFT2_DRV_LANGUAGE
59 VFT2_DRV_DISPLAY
60 VFT2_DRV_MOUSE
61 VFT2_DRV_NETWORK
62 VFT2_DRV_SYSTEM
63 VFT2_DRV_INSTALLABLE
64 VFT2_DRV_SOUND
65 VFT2_DRV_COMM
66*/
67
68#define VER_COMPANYNAME_STR "innotek GmbH"
69#define VER_FILEDESCRIPTION_STR "VirtualBox Host Interface Networking Driver"
70#define VER_ORIGINALFILENAME_STR TAP_COMPONENT_ID ".sys"
71#define VER_LEGALCOPYRIGHT_YEARS "2006"
72#define VER_LEGALCOPYRIGHT_STR "innotek GmbH & Others"
73
74
75#define VER_PRODUCTNAME_STR VER_FILEDESCRIPTION_STR
76#define VER_PRODUCTVERSION TAP_DRIVER_MAJOR_VERSION,00,00,TAP_DRIVER_MINOR_VERSION
77
78#define XSTR(s) STR(s)
79#define STR(s) #s
80
81#define VSTRING XSTR(TAP_DRIVER_MAJOR_VERSION) "/" XSTR(TAP_DRIVER_MINOR_VERSION)
82
83#ifdef DBG
84#define VER_PRODUCTVERSION_STR VSTRING " (DEBUG)"
85#else
86#define VER_PRODUCTVERSION_STR VSTRING
87#endif
88
89#define VER_INTERNALNAME_STR VER_ORIGINALFILENAME_STR
90
91#include "common.ver"
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette