1 //
   2 // Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved.
   3 // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 //
   5 // This code is free software; you can redistribute it and/or modify it
   6 // under the terms of the GNU General Public License version 2 only, as
   7 // published by the Free Software Foundation.  Oracle designates this
   8 // particular file as subject to the "Classpath" exception as provided
   9 // by Oracle in the LICENSE file that accompanied this code.
  10 //
  11 // This code is distributed in the hope that it will be useful, but WITHOUT
  12 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 // version 2 for more details (a copy is included in the LICENSE file that
  15 // accompanied this code).
  16 //
  17 // You should have received a copy of the GNU General Public License version
  18 // 2 along with this work; if not, write to the Free Software Foundation,
  19 // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 //
  21 // Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 // or visit www.oracle.com if you need additional information or have any
  23 // questions.
  24 //
  25 
  26 #include "windows.h"
  27 
  28 // Need 2 defines so macro argument to XSTR will get expanded before quoting.
  29 #define XSTR(x) STR(x)
  30 #define STR(x)  #x
  31 
  32 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
  33 
  34 HAND_CURSOR  CURSOR  DISCARDABLE "hand.cur"
  35 AWT_ICON     ICON    DISCARDABLE "awt.ico"
  36 CHECK_BITMAP BITMAP  DISCARDABLE "check.bmp"
  37 
  38 // Note: the number of icons used is specified in the
  39 // securityWarningIconCounter constant in awt_Toolkit.cpp.
  40 SECURITY_WARNING_0  ICON    DISCARDABLE "security_warning_bw.ico"
  41 SECURITY_WARNING_1  ICON    DISCARDABLE "security_warning_int.ico"
  42 SECURITY_WARNING_2  ICON    DISCARDABLE "security_warning.ico"
  43 
  44 
  45 /////////////////////////////////////////////////////////////////////////////
  46 //
  47 // Version
  48 //
  49 
  50 VS_VERSION_INFO VERSIONINFO
  51  FILEVERSION    JDK_FVER
  52  PRODUCTVERSION JDK_FVER
  53  FILEFLAGSMASK 0x3fL
  54 #ifdef _DEBUG
  55  FILEFLAGS 0x1L
  56 #else
  57  FILEFLAGS 0x0L
  58 #endif
  59  // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only
  60  FILEOS 0x4L
  61  // FILETYPE should be 0x1 for .exe and 0x2 for .dll
  62  FILETYPE JDK_FTYPE
  63  FILESUBTYPE 0x0L
  64 BEGIN
  65     BLOCK "StringFileInfo"
  66     BEGIN
  67         BLOCK "040904b0"
  68         BEGIN
  69             VALUE "CompanyName",      XSTR(JDK_COMPANY)       "\0"
  70             VALUE "FileDescription",  XSTR(JDK_COMPONENT)     "\0"
  71             VALUE "FileVersion",      XSTR(JDK_VER)           "\0"
  72             VALUE "Full Version",     XSTR(JDK_VERSION_STRING) "\0"
  73             VALUE "InternalName",     XSTR(JDK_INTERNAL_NAME) "\0"
  74             VALUE "LegalCopyright",   XSTR(JDK_COPYRIGHT)     "\0"
  75             VALUE "OriginalFilename", XSTR(JDK_FNAME)         "\0"
  76             VALUE "ProductName",      XSTR(JDK_NAME)          "\0"
  77             VALUE "ProductVersion",   XSTR(JDK_VER)           "\0"
  78         END
  79     END
  80     BLOCK "VarFileInfo"
  81     BEGIN
  82         VALUE "Translation", 0x409, 1200
  83     END
  84 END