forked from daynix/UsbDk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
versions.h
77 lines (67 loc) · 2.13 KB
/
versions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/**********************************************************************
* Copyright (c) 2013-2014 Red Hat, Inc.
*
* Developed by Daynix Computing LTD.
*
* Authors:
* Dmitry Fleytman <[email protected]>
* Pavel Gurvich <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
**********************************************************************/
#include <windows.h>
#include <ntverp.h>
#if (7-USBDK_MAJOR_VERSION-7) == 14
#undef USBDK_MAJOR_VERSION
#define USBDK_MAJOR_VERSION 0
#endif
#if (7-USBDK_MINOR_VERSION-7) == 14
#undef USBDK_MINOR_VERSION
#define USBDK_MINOR_VERSION 0
#endif
#if (7-USBDK_BUILD_NUMBER-7) == 14
#undef USBDK_BUILD_NUMBER
#define USBDK_BUILD_NUMBER 0
#endif
#ifdef VER_COMPANYNAME_STR
#undef VER_COMPANYNAME_STR
#endif
#ifdef VER_LEGALTRADEMARKS_STR
#undef VER_LEGALTRADEMARKS_STR
#endif
#ifdef VER_PRODUCTBUILD
#undef VER_PRODUCTBUILD
#endif
#ifdef VER_PRODUCTBUILD_QFE
#undef VER_PRODUCTBUILD_QFE
#endif
#ifdef VER_PRODUCTNAME_STR
#undef VER_PRODUCTNAME_STR
#endif
#ifdef VER_PRODUCTMAJORVERSION
#undef VER_PRODUCTMAJORVERSION
#endif
#ifdef VER_PRODUCTMINORVERSION
#undef VER_PRODUCTMINORVERSION
#endif
#define VER_COMPANYNAME_STR "Red Hat Inc."
#define VER_LEGALTRADEMARKS_STR ""
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2014 Red Hat Inc."
#define VER_PRODUCTMAJORVERSION USBDK_MAJOR_VERSION
#define VER_PRODUCTMINORVERSION USBDK_MINOR_VERSION
#define VER_PRODUCTBUILD USBDK_BUILD_NUMBER
#define VER_PRODUCTBUILD_QFE 0
#define VER_LANGNEUTRAL
#define VER_PRODUCTNAME_STR "Red Hat USB Development Kit"
#include "common.ver"