⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 version.rc

📁 电驴下载工具eMule0.47aVeryCD的源代码,可作分析测试也可用于P2P软件的开发研究.
💻 RC
📖 第 1 页 / 共 2 页
字号:
/* This is an implementation of the threads API of POSIX 1003.1-2001.
 *
 * --------------------------------------------------------------------------
 *
 *      Pthreads-win32 - POSIX Threads Library for Win32
 *      Copyright(C) 1998 John E. Bossom
 *      Copyright(C) 1999,2004 Pthreads-win32 contributors
 * 
 *      Contact Email: rpj@callisto.canberra.edu.au
 * 
 *      The current list of contributors is contained
 *      in the file CONTRIBUTORS included with the source
 *      code distribution. The list can also be seen at the
 *      following World Wide Web location:
 *      http://sources.redhat.com/pthreads-win32/contributors.html
 * 
 *      This library is free software; you can redistribute it and/or
 *      modify it under the terms of the GNU Lesser General Public
 *      License as published by the Free Software Foundation; either
 *      version 2 of the License, or (at your option) any later version.
 * 
 *      This library is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *      Lesser General Public License for more details.
 * 
 *      You should have received a copy of the GNU Lesser General Public
 *      License along with this library in the file COPYING.LIB;
 *      if not, write to the Free Software Foundation, Inc.,
 *      59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 */

/*
 * Note: the correct __CLEANUP_* macro must be defined corresponding to
 * the definition used for the object file builds. This is done in the
 * relevent makefiles for the command line builds, but users should ensure
 * that their resource compiler knows what it is too.
 * If using the default (no __CLEANUP_* defined), pthread.h will define it
 * as __CLEANUP_C.
 */

#include <winver.h>
#include "pthread.h"

#ifdef PTW32_RC_MSC
#  if defined(__CLEANUP_C)
#    define PTW32_VERSIONINFO_NAME "pthreadVC\0"
#    define PTW32_VERSIONINFO_COMMENT "MS C build -- longjmp thread exiting\0"
#  elif defined(__CLEANUP_CXX)
#    define PTW32_VERSIONINFO_NAME "pthreadVCE\0"
#    define PTW32_VERSIONINFO_COMMENT "MS C++ build -- C++ exception thread exiting\0"
#  elif defined(__CLEANUP_SEH)
#    define PTW32_VERSIONINFO_NAME "pthreadVSE\0"
#    define PTW32_VERSIONINFO_COMMENT "MS C build -- structured exception thread exiting\0"
#  endif
#elif defined(__GNUC__)
#  if defined(__CLEANUP_C)
#    define PTW32_VERSIONINFO_NAME "pthreadGC\0"
#    define PTW32_VERSIONINFO_COMMENT "GNU C build -- longjmp thread exiting\0"
#  elif defined(__CLEANUP_CXX)
#    define PTW32_VERSIONINFO_NAME "pthreadGCE\0"
#    define PTW32_VERSIONINFO_COMMENT "GNU C++ build -- C++ exception thread exiting\0"
#  endif
#elif defined(__BORLANDC__)
#  if defined(__CLEANUP_C)
#    define PTW32_VERSIONINFO_NAME "pthreadBC\0"
#    define PTW32_VERSIONINFO_COMMENT "BORLAND C build -- longjmp thread exiting\0"
#  elif defined(__CLEANUP_CXX)
#    define PTW32_VERSIONINFO_NAME "pthreadBCE\0"
#    define PTW32_VERSIONINFO_COMMENT "BORLAND C++ build -- C++ exception thread exiting\0"
#  endif
#elif defined(__WATCOMC__)
#  if defined(__CLEANUP_C)
#    define PTW32_VERSIONINFO_NAME "pthreadWC\0"
#    define PTW32_VERSIONINFO_COMMENT "WATCOM C build -- longjmp thread exiting\0"
#  elif defined(__CLEANUP_CXX)
#    define PTW32_VERSIONINFO_NAME "pthreadWCE\0"
#    define PTW32_VERSIONINFO_COMMENT "WATCOM C++ build -- C++ exception thread exiting\0"
#  endif
#else
#error Resource compiler doesn't know which compiler you're using - see version.rc
#endif


VS_VERSION_INFO VERSIONINFO
  FILEVERSION    PTW32_VERSION
  PRODUCTVERSION PTW32_VERSION
  FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  FILEFLAGS      0
  FILEOS         VOS__WINDOWS32
  FILETYPE       VFT_DLL
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Description", "POSIX Threads for Windows32 Library\0"
            VALUE "ProductVersion", PTW32_VERSION_STRING
            VALUE "FileVersion", PTW32_VERSION_STRING
            VALUE "InternalName", PTW32_VERSIONINFO_NAME
            VALUE "OriginalFilename", PTW32_VERSIONINFO_NAME
            VALUE "CompanyName", "Open Source Software community project\0"
            VALUE "LegalCopyright", "Copyright (C) Project contributors 1998-2004\0"
            VALUE "Licence", "LGPL\0"
            VALUE "Info", "http://sources.redhat.com/pthreads-win32/\0"
	    VALUE "Comment", PTW32_VERSIONINFO_COMMENT
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

/*
VERSIONINFO Resource

The VERSIONINFO resource-definition statement creates a version-information
resource. The resource contains such information about the file as its
version number, its intended operating system, and its original filename.
The resource is intended to be used with the Version Information functions.

versionID VERSIONINFO fixed-info  { block-statement...}

versionID
    Version-information resource identifier. This value must be 1.

fixed-info
    Version information, such as the file version and the intended operating
    system. This parameter consists of the following statements.


    Statement 		Description
    --------------------------------------------------------------------------
    FILEVERSION
    version 		Binary version number for the file. The version
			consists of two 32-bit integers, defined by four
			16-bit integers. For example, "FILEVERSION 3,10,0,61"
			is translated into two doublewords: 0x0003000a and
			0x0000003d, in that order. Therefore, if version is
			defined by the DWORD values dw1 and dw2, they need
			to appear in the FILEVERSION statement as follows:
			HIWORD(dw1), LOWORD(dw1), HIWORD(dw2), LOWORD(dw2).
    PRODUCTVERSION
    version 		Binary version number for the product with which the
			file is distributed. The version parameter is two
			32-bit integers, defined by four 16-bit integers.
			For more information about version, see the
			FILEVERSION description.
    FILEFLAGSMASK
    fileflagsmask 	Bits in the FILEFLAGS statement are valid. If a bit
			is set, the corresponding bit in FILEFLAGS is valid.
    FILEFLAGSfileflags 	Attributes of the file. The fileflags parameter must
			be the combination of all the file flags that are
			valid at compile time. For 16-bit Windows, this
			value is 0x3f.
    FILEOSfileos 	Operating system for which this file was designed.
			The fileos parameter can be one of the operating
			system values given in the Remarks section.
    FILETYPEfiletype 	General type of file. The filetype parameter can be
			one of the file type values listed in the Remarks
			section.
    FILESUBTYPE
    subtype 		Function of the file. The subtype parameter is zero
			unless the type parameter in the FILETYPE statement
			is VFT_DRV, VFT_FONT, or VFT_VXD. For a list of file
			subtype values, see the Remarks section.

block-statement
    Specifies one or more version-information blocks. A block can contain
    string information or variable information. For more information, see
    StringFileInfo Block or VarFileInfo Block.

Remarks

To use the constants specified with the VERSIONINFO statement, you must
include the Winver.h or Windows.h header file in the resource-definition file.

The following list describes the parameters used in the VERSIONINFO statement:

fileflags
    A combination of the following values.

    Value 		Description

    VS_FF_DEBUG 	File contains debugging information or is compiled
			with debugging features enabled.
    VS_FF_PATCHED 	File has been modified and is not identical to the
			original shipping file of the same version number.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -