VirtualBox

source: vbox/trunk/src/VBox/Resources/win/TemplateR0.rc@ 55789

Last change on this file since 55789 was 55789, checked in by vboxsync, 10 years ago

Resources: Some simplifications.

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

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