xref: /reactos/modules/rosapps/include/vfd/vfdver.h (revision 4561998a)
1 /*
2     vfdver.h
3 
4     Virtual Floppy Drive for Windows
5     common version definition
6 
7     Copyright (c) 2003-2008 Ken Kato
8 */
9 
10 #ifndef _VFDVER_H_
11 #define _VFDVER_H_
12 
13 //  product version information
14 #define VFD_PRODUCT_NAME            "Virtual Floppy Drive for Windows"
15 #define VFD_PRODUCT_MAJOR           2
16 #define VFD_PRODUCT_MINOR           1
17 
18 //  driver file version information
19 #define VFD_DRIVER_FILENAME         "vfd.sys"
20 #define VFD_DRIVER_MAJOR            2
21 #define VFD_DRIVER_MINOR            1
22 
23 //  build year and month/date
24 #define VFD_BUILD_YEAR              2008
25 #define VFD_BUILD_MDAY              0206
26 
27 //  copyright information
28 #define VFD_COMPANY_NAME            "Ken Kato"
29 #define VFD_COPYRIGHT_YEARS         "2003-2008"
30 
31 //  version information language and code page
32 //  LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP
33 #define VFD_VERSIONINFO_LANG        "040904B0"
34 #define VFD_VERSIONINFO_TRANS       0x0409, 0x04B0
35 
36 #if ((DBG) || defined(_DEBUG))
37 #define VFD_DEBUG_FLAG              0x80000000
38 #define VFD_DEBUG_TAG               " (debug)"
39 #else
40 #define VFD_DEBUG_FLAG              0
41 #define VFD_DEBUG_TAG
42 #endif
43 
44 //
45 //  Version manipulation macros
46 //
47 #define VFD_PRODUCT_VERSION_VAL     \
48     ((ULONG)((USHORT)VFD_PRODUCT_MAJOR<<16)|((USHORT)VFD_PRODUCT_MINOR))
49 
50 #define VFD_DRIVER_VERSION_VAL      \
51     ((ULONG)((USHORT)VFD_DRIVER_MAJOR<<16)|((USHORT)VFD_DRIVER_MINOR))
52 
53 #define VFD_FILE_VERSION_VAL        \
54     ((ULONG)((USHORT)VFD_FILE_MAJOR<<16)|((USHORT)VFD_FILE_MINOR))
55 
56 #define VFD_VERSION_STR2(a,b)       #a "." #b
57 #define VFD_VERSION_STR(a,b)        VFD_VERSION_STR2(a,b)
58 #define VFD_PRODUCT_VERSION_STR     VFD_VERSION_STR(VFD_PRODUCT_MAJOR,VFD_PRODUCT_MINOR)
59 #define VFD_DRIVER_VERSION_STR      VFD_VERSION_STR(VFD_DRIVER_MAJOR,VFD_DRIVER_MINOR)
60 #define VFD_FILE_VERSION_STR        VFD_VERSION_STR(VFD_FILE_MAJOR,VFD_FILE_MINOR)
61 #define VFD_BUILD_DATE_STR          VFD_VERSION_STR(VFD_BUILD_YEAR,VFD_BUILD_MDAY)
62 
63 //
64 //  Product description
65 //
66 #define VFD_PRODUCT_DESC            \
67     VFD_PRODUCT_NAME " " VFD_PRODUCT_VERSION_STR "." VFD_BUILD_DATE_STR VFD_DEBUG_TAG
68 
69 #define VFD_COPYRIGHT_STR           \
70     "Copyright (c) " VFD_COPYRIGHT_YEARS " " VFD_COMPANY_NAME
71 
72 #endif  //  _VFDVER_H_
73