1 | /* $Id: TemplateDrv.rc 55788 2015-05-09 20:29:31Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Resource file template for a driver.
|
---|
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 | #ifndef IN_FILE_DESCRIPTION
|
---|
33 | # error "Must define the IN_FILE_DESCRIPTION string!"
|
---|
34 | #endif
|
---|
35 | #ifndef IN_FILE_BASENAME
|
---|
36 | # error "Must define the IN_FILE_BASENAME string!"
|
---|
37 | #endif
|
---|
38 | #ifndef IN_FILE_NAME /* optional */
|
---|
39 | # define IN_FILE_NAME IN_FILE_BASENAME ".sys"
|
---|
40 | #endif
|
---|
41 | #ifndef IN_FILE_SUBTYPE /* optional */
|
---|
42 | # define IN_FILE_SUBTYPE VFT2_UNKNOWN
|
---|
43 | #endif
|
---|
44 |
|
---|
45 |
|
---|
46 | /*******************************************************************************
|
---|
47 | * Header Files *
|
---|
48 | *******************************************************************************/
|
---|
49 | #include <Windows.h>
|
---|
50 | #include <VBox/version.h>
|
---|
51 |
|
---|
52 |
|
---|
53 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
---|
54 |
|
---|
55 | #ifdef IN_ICON_FILE
|
---|
56 | 1 ICON IN_ICON_FILE
|
---|
57 | #endif
|
---|
58 |
|
---|
59 | VS_VERSION_INFO VERSIONINFO
|
---|
60 | FILEVERSION VBOX_RC_FILE_VERSION
|
---|
61 | PRODUCTVERSION VBOX_RC_FILE_VERSION
|
---|
62 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
---|
63 | FILEFLAGS VBOX_RC_FILE_FLAGS
|
---|
64 | FILEOS VBOX_RC_FILE_OS
|
---|
65 | FILETYPE VBOX_RC_TYPE_DRV
|
---|
66 | FILESUBTYPE IN_FILE_SUBTYPE
|
---|
67 | BEGIN
|
---|
68 | BLOCK "StringFileInfo"
|
---|
69 | BEGIN
|
---|
70 | BLOCK "040904b0" /* Lang=US English, CodePage=utf-16 */
|
---|
71 | BEGIN
|
---|
72 | VALUE "FileDescription", IN_FILE_DESCRIPTION
|
---|
73 | VALUE "InternalName", IN_FILE_BASENAME "\0"
|
---|
74 | VALUE "OriginalFilename", IN_FILE_NAME "\0"
|
---|
75 | VALUE "CompanyName", VBOX_RC_COMPANY_NAME
|
---|
76 | VALUE "FileVersion", VBOX_RC_FILE_VERSION_STR
|
---|
77 | VALUE "LegalCopyright", VBOX_RC_LEGAL_COPYRIGHT
|
---|
78 | #ifndef IN_GUEST
|
---|
79 | VALUE "ProductName", VBOX_RC_PRODUCT_NAME_STR
|
---|
80 | #else
|
---|
81 | VALUE "ProductName", VBOX_RC_PRODUCT_NAME_GA_STR
|
---|
82 | #endif
|
---|
83 | VALUE "ProductVersion", VBOX_RC_PRODUCT_VERSION_STR
|
---|
84 | VBOX_RC_MORE_STRINGS
|
---|
85 | END
|
---|
86 | END
|
---|
87 | BLOCK "VarFileInfo"
|
---|
88 | BEGIN
|
---|
89 | VALUE "Translation", 0x409, 1200 /* Lang=US English, CodePage=utf-16 */
|
---|
90 | END
|
---|
91 | END
|
---|
92 |
|
---|