1 | /* $Id: TemplateR0.rc 82968 2020-02-04 10:35:17Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Resource file template for a ring-0 module.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2015-2020 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | *
|
---|
17 | * The contents of this file may alternatively be used under the terms
|
---|
18 | * of the Common Development and Distribution License Version 1.0
|
---|
19 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | * CDDL are applicable instead of those of the GPL.
|
---|
22 | *
|
---|
23 | * You may elect to license modified versions of this file under the
|
---|
24 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | */
|
---|
26 |
|
---|
27 |
|
---|
28 | /*******************************************************************************
|
---|
29 | * Defined Constants And Macros *
|
---|
30 | *******************************************************************************/
|
---|
31 | /* Validate input and deal with optional input. */
|
---|
32 | /** @def IN_FILE_DESCRIPTION
|
---|
33 | * The file description string.
|
---|
34 | */
|
---|
35 | #ifndef IN_FILE_DESCRIPTION
|
---|
36 | # error "Must define the IN_FILE_DESCRIPTION string!"
|
---|
37 | #endif
|
---|
38 | /** @def IN_INTERNAL_NAME
|
---|
39 | * The internal name string, optional (requires IN_FILE_BASENAME then).
|
---|
40 | */
|
---|
41 | #ifndef IN_INTERNAL_NAME
|
---|
42 | # ifndef IN_FILE_BASENAME
|
---|
43 | # error "Must define the IN_FILE_BASENAME or the IN_INTERNAL_NAME string!"
|
---|
44 | # endif
|
---|
45 | # define IN_INTERNAL_NAME IN_FILE_BASENAME
|
---|
46 | #endif
|
---|
47 | /** @def IN_ORIGINAL_NAME
|
---|
48 | * The original name string, optional (requires IN_FILE_BASENAME then).
|
---|
49 | */
|
---|
50 | #ifndef IN_ORIGINAL_NAME
|
---|
51 | # ifndef IN_FILE_BASENAME
|
---|
52 | # error "Must define the IN_FILE_BASENAME or the IN_ORIGINAL_NAME string!"
|
---|
53 | # endif
|
---|
54 | # define IN_ORIGINAL_NAME IN_FILE_BASENAME " .dll"
|
---|
55 | #endif
|
---|
56 | /** @def IN_PRODUCT_NAME
|
---|
57 | * The product name string, optional.
|
---|
58 | */
|
---|
59 | #ifndef IN_PRODUCT_NAME
|
---|
60 | # ifdef VBOX_IN_PUEL_EXTPACK
|
---|
61 | # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK
|
---|
62 | # elif defined(VBOX_IN_DTRACE_EXTPACK)
|
---|
63 | # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_DTRACE_EXTPACK
|
---|
64 | # else
|
---|
65 | # define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME
|
---|
66 | # endif
|
---|
67 | #endif
|
---|
68 | #ifdef IN_GUEST
|
---|
69 | # error "No R0 modules with IN_GUEST defined!"
|
---|
70 | #endif
|
---|
71 |
|
---|
72 |
|
---|
73 | /*******************************************************************************
|
---|
74 | * Header Files *
|
---|
75 | *******************************************************************************/
|
---|
76 | #include "TemplateRsrcDefs.h"
|
---|
77 | #include <VBox/version.h>
|
---|
78 |
|
---|
79 |
|
---|
80 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
---|
81 |
|
---|
82 | #ifdef IN_ICON_FILE
|
---|
83 | IDI_ICON1 ICON IN_ICON_FILE
|
---|
84 | #endif
|
---|
85 |
|
---|
86 | VS_VERSION_INFO VERSIONINFO
|
---|
87 | FILEVERSION VBOX_RC_FILE_VERSION
|
---|
88 | PRODUCTVERSION VBOX_RC_FILE_VERSION
|
---|
89 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
---|
90 | FILEFLAGS VBOX_RC_FILE_FLAGS
|
---|
91 | FILEOS VBOX_RC_FILE_OS
|
---|
92 | FILETYPE VBOX_RC_TYPE_DRV
|
---|
93 | FILESUBTYPE VFT2_UNKNOWN
|
---|
94 | BEGIN
|
---|
95 | BLOCK "StringFileInfo"
|
---|
96 | BEGIN
|
---|
97 | BLOCK "040904b0" /* Lang=US English, CodePage=utf-16 */
|
---|
98 | BEGIN
|
---|
99 | VALUE "FileDescription", IN_FILE_DESCRIPTION "\0"
|
---|
100 | VALUE "InternalName", IN_INTERNAL_NAME "\0"
|
---|
101 | VALUE "OriginalFilename", IN_ORIGINAL_NAME "\0"
|
---|
102 | VALUE "CompanyName", VBOX_RC_COMPANY_NAME "\0"
|
---|
103 | VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR
|
---|
104 | VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT
|
---|
105 | VALUE "ProductName", IN_PRODUCT_NAME
|
---|
106 | VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR
|
---|
107 | VBOX_RC_MORE_STRINGS
|
---|
108 | END
|
---|
109 | END
|
---|
110 | BLOCK "VarFileInfo"
|
---|
111 | BEGIN
|
---|
112 | VALUE "Translation", 0x409, 1200 /* Lang=US English, CodePage=utf-16 */
|
---|
113 | END
|
---|
114 | END
|
---|
115 |
|
---|