VirtualBox

source: vbox/trunk/src/VBox/Artwork/win/TemplateDrv.rc

Last change on this file was 98103, checked in by vboxsync, 17 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 KB
Line 
1/* $Id: TemplateDrv.rc 98103 2023-01-17 14:15:46Z vboxsync $ */
2/** @file
3 * Resource file template for a driver.
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 IN_GUEST
71# define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_GA
72# elif defined(VBOX_IN_PUEL_EXTPACK)
73# define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_PUEL_EXTPACK
74# elif defined(VBOX_IN_DTRACE_EXTPACK)
75# define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME_DTRACE_EXTPACK
76# else
77# define IN_PRODUCT_NAME VBOX_RC_PRODUCT_NAME
78# endif
79#endif
80#ifndef IN_FILE_SUBTYPE /* optional */
81# define IN_FILE_SUBTYPE VFT2_UNKNOWN
82#endif
83
84
85/*******************************************************************************
86* Header Files *
87*******************************************************************************/
88#include <Windows.h>
89#include <VBox/version.h>
90
91
92LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
93
94#ifdef IN_ICON_FILE
95IDI_ICON1 ICON IN_ICON_FILE
96#endif
97
98VS_VERSION_INFO VERSIONINFO
99FILEVERSION VBOX_RC_FILE_VERSION
100PRODUCTVERSION VBOX_RC_FILE_VERSION
101FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
102FILEFLAGS VBOX_RC_FILE_FLAGS
103FILEOS VBOX_RC_FILE_OS
104FILETYPE VBOX_RC_TYPE_DRV
105FILESUBTYPE IN_FILE_SUBTYPE
106BEGIN
107 BLOCK "StringFileInfo"
108 BEGIN
109 BLOCK "040904b0" /* Lang=US English, CodePage=utf-16 */
110 BEGIN
111 VALUE "FileDescription", IN_FILE_DESCRIPTION "\0"
112 VALUE "InternalName", IN_INTERNAL_NAME "\0"
113 VALUE "OriginalFilename", IN_ORIGINAL_NAME "\0"
114 VALUE "CompanyName", VBOX_RC_COMPANY_NAME "\0"
115 VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR
116 VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT
117 VALUE "ProductName", IN_PRODUCT_NAME
118 VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR
119 VBOX_RC_MORE_STRINGS
120 END
121 END
122 BLOCK "VarFileInfo"
123 BEGIN
124 VALUE "Translation", 0x409, 1200 /* Lang=US English, CodePage=utf-16 */
125 END
126END
127
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use