~ubuntu-branches/ubuntu/oneiric/openvpn/oneiric

« back to all changes in this revision

Viewing changes to tap-win32/resource.rc

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Gonzalez Iniesta
  • Date: 2004-06-10 15:59:39 UTC
  • Revision ID: james.westby@ubuntu.com-20040610155939-dcmtiuvcoqnwek62
Tags: upstream-1.6.0
ImportĀ upstreamĀ versionĀ 1.6.0

Show diffs side-by-side

added added

removed removed

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