External/WinRing0/OpenLibSys.rc
author moel.mich
Wed, 18 Jul 2012 19:45:59 +0000
changeset 366 667c75cad937
permissions -rw-r--r--
Changed the system tray icon font scaling to adapt to the size of the tray icon in pixels, because on Windows 7 the tray icon scales with the system font size, while on Windows XP the tray icons are always 16 pixels large.
     1 #include <windows.h>
     2 #include <ntverp.h>
     3 
     4 #define VER_FILETYPE                VFT_DRV
     5 #define VER_FILESUBTYPE             VFT2_DRV_SYSTEM
     6 
     7 #define VER_FILEDESCRIPTION_STR     "WinRing0"
     8 #define VER_INTERNALNAME_STR        "WinRing0.sys"
     9 
    10 /////////////////////////////////////////////////////////////////////////////
    11 //
    12 // Version
    13 //
    14 
    15 VS_VERSION_INFO VERSIONINFO
    16  FILEVERSION 1, 2, 0, 5
    17  PRODUCTVERSION 1, 2, 0, 5
    18  FILEFLAGSMASK 0x3fL
    19  FILEFLAGS 0x0L
    20  FILEOS 0x40004L
    21  FILETYPE 0x2L
    22  FILESUBTYPE 0x0L
    23 BEGIN
    24     BLOCK "StringFileInfo"
    25     BEGIN
    26         BLOCK "041104b0"
    27         BEGIN
    28             VALUE "Comments", "The modified BSD license\0"
    29             VALUE "CompanyName", "OpenLibSys.org\0"
    30             VALUE "FileDescription", "WinRing0\0"
    31             VALUE "FileVersion", "1.2.0.5\0"
    32             VALUE "InternalName", "WinRing0.sys\0"
    33             VALUE "LegalCopyright", "Copyright (C) 2007-2008 OpenLibSys.org. All rights reserved.\0"
    34             VALUE "OriginalFilename", "WinRing0.sys\0"
    35             VALUE "ProductName", "WinRing0\0"
    36             VALUE "ProductVersion", "1.2.0.5\0"
    37         END
    38     END
    39     BLOCK "VarFileInfo"
    40     BEGIN
    41         VALUE "Translation", 0x411, 1200
    42     END
    43 END