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