Mercurial > mplayer.hg
annotate vidix/dhahelperwin/ntverp.h @ 27855:eb78efa6cb07
Merge ARCH_BFIN lines.
author | diego |
---|---|
date | Mon, 03 Nov 2008 22:06:45 +0000 |
parents | a93e46adb54c |
children | e83eef58b30a |
rev | line source |
---|---|
24541 | 1 /* |
2 * PROJECT: ReactOS | |
3 * LICENSE: GPL - See COPYING in the top level directory | |
4 * FILE: include/psdk/ntverp.h | |
5 * PURPOSE: Master Version File. | |
6 * This file should be modified only by the official builder | |
7 * to update VERSION, VER_PRODUCTVERSION, VER_PRODUCTVERSION_ | |
8 * STR and VER_PRODUCTBETA_STR values. | |
9 * The VER_PRODUCTBUILD lines must contain the product | |
10 * comments and end with the build#<CR><LF>. | |
11 * The VER_PRODUCTBETA_STR lines must contain the product | |
12 * comments and end with "somestring"<CR><LF. | |
13 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org) | |
14 */ | |
15 | |
26030 | 16 #ifndef MPLAYER_NTVERP_H |
17 #define MPLAYER_NTVERP_H | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
24541
diff
changeset
|
18 |
24541 | 19 // |
20 // Windows NT Build 3790.1830 | |
21 // | |
22 #define VER_PRODUCTBUILD 3790 | |
23 #define VER_PRODUCTBUILD_QFE 1830 | |
24 | |
25 // | |
26 // Windows NT Version 5.2 | |
27 // | |
28 #define VER_PRODUCTMAJORVERSION 5 | |
29 #define VER_PRODUCTMINORVERSION 2 | |
30 #define VER_PRODUCTVERSION_W (0x0502) | |
31 #define VER_PRODUCTVERSION_DW (0x05020000 | VER_PRODUCTBUILD) | |
32 | |
33 // | |
34 // Not a beta | |
35 // | |
36 #define VER_PRODUCTBETA_STR "" | |
37 | |
38 // | |
39 // ANSI String Generating Macros | |
40 // | |
41 #define VER_PRODUCTVERSION_MAJORMINOR2(x,y) \ | |
42 #x "." #y | |
43 #define VER_PRODUCTVERSION_MAJORMINOR1(x,y) \ | |
44 VER_PRODUCTVERSION_MAJORMINOR2(x, y) | |
45 #define VER_PRODUCTVERSION_STRING \ | |
46 VER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION) | |
47 | |
48 // | |
49 // Unicode String Generating Macros | |
50 // | |
51 #define LVER_PRODUCTVERSION_MAJORMINOR2(x,y)\ | |
52 L#x L"." L#y | |
53 #define LVER_PRODUCTVERSION_MAJORMINOR1(x,y)\ | |
54 LVER_PRODUCTVERSION_MAJORMINOR2(x, y) | |
55 #define LVER_PRODUCTVERSION_STRING \ | |
56 LVER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION) | |
57 | |
58 // | |
59 // Full Product Version | |
60 // | |
61 #define VER_PRODUCTVERSION \ | |
62 VER_PRODUCTMAJORVERSION,VER_PRODUCTMINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE | |
63 | |
64 // | |
65 // Padding for ANSI Version String | |
66 // | |
67 #if (VER_PRODUCTBUILD < 10) | |
68 #define VER_BPAD "000" | |
69 #elif (VER_PRODUCTBUILD < 100) | |
70 #define VER_BPAD "00" | |
71 #elif (VER_PRODUCTBUILD < 1000) | |
72 #define VER_BPAD "0" | |
73 #else | |
74 #define VER_BPAD | |
75 #endif | |
76 | |
77 // | |
78 // Padding for Unicode Version String | |
79 // | |
80 #if (VER_PRODUCTBUILD < 10) | |
81 #define LVER_BPAD L"000" | |
82 #elif (VER_PRODUCTBUILD < 100) | |
83 #define LVER_BPAD L"00" | |
84 #elif (VER_PRODUCTBUILD < 1000) | |
85 #define LVER_BPAD L"0" | |
86 #else | |
87 #define LVER_BPAD | |
88 #endif | |
89 | |
90 // | |
91 // ANSI Product Version String | |
92 // | |
93 #define VER_PRODUCTVERSION_STR2(x,y) \ | |
94 VER_PRODUCTVERSION_STRING "." VER_BPAD #x "." #y | |
95 #define VER_PRODUCTVERSION_STR1(x,y) \ | |
96 VER_PRODUCTVERSION_STR2(x, y) | |
97 #define VER_PRODUCTVERSION_STR \ | |
98 VER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE) | |
99 | |
100 // | |
101 // Unicode Product Version String | |
102 // | |
103 #define LVER_PRODUCTVERSION_STR2(x,y) \ | |
104 LVER_PRODUCTVERSION_STRING L"." LVER_BPAD L#x L"." L#y | |
105 #define LVER_PRODUCTVERSION_STR1(x,y) \ | |
106 LVER_PRODUCTVERSION_STR2(x, y) | |
107 #define LVER_PRODUCTVERSION_STR \ | |
108 LVER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE) | |
109 | |
110 // | |
111 // Debug Flag | |
112 // | |
113 #if DBG | |
114 #define VER_DEBUG VS_FF_DEBUG | |
115 #else | |
116 #define VER_DEBUG 0 | |
117 #endif | |
118 | |
119 // | |
120 // Beta Flag | |
121 // | |
122 #if BETA | |
123 #define VER_PRERELEASE VS_FF_PRERELEASE | |
124 #else | |
125 #define VER_PRERELEASE 0 | |
126 #endif | |
127 | |
128 // | |
129 // Internal Flag | |
130 // | |
131 #if OFFICIAL_BUILD | |
132 #define VER_PRIVATE 0 | |
133 #else | |
134 #define VER_PRIVATE VS_FF_PRIVATEBUILD | |
135 #endif | |
136 | |
137 // | |
138 // Other Flags | |
139 // | |
140 #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | |
141 #define VER_FILEOS VOS_NT_WINDOWS32 | |
142 #define VER_FILEFLAGS (VER_PRERELEASE | \ | |
143 VER_DEBUG | \ | |
144 VER_PRIVATE) | |
145 | |
146 // | |
147 // Company and Trademarks | |
148 // | |
149 #define VER_COMPANYNAME_STR \ | |
150 "ReactOS(R) Foundation" | |
151 #define VER_PRODUCTNAME_STR \ | |
152 "ReactOS(R) Operating System" | |
153 #define VER_LEGALTRADEMARKS_STR \ | |
154 "ReactOS(R) is a registered trademark of the ReactOS Foundation." | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
24541
diff
changeset
|
155 |
26030 | 156 #endif /* MPLAYER_NTVERP_H */ |