VirtualBox

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

Last change on this file since 69603 was 69500, checked in by vboxsync, 7 years ago

*: scm --update-copyright-year

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette