mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
3.6 KiB
101 lines
3.6 KiB
|
|
/*---------------------------------------------------------------*/
|
|
/* */
|
|
/* The following section actually creates the version structure. */
|
|
/* They are ignored if we are not being invoked by RC. */
|
|
/* */
|
|
/* VERSION.H must be included before including this file */
|
|
/* */
|
|
/* If VER_LEGALCOPYRIGHT_STR is not defined, it will be */
|
|
/* constructed using VER_LEGALCOPYRIGHT_YEARS. */
|
|
/* */
|
|
/* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR, and */
|
|
/* VER_INTERNALNAME_STR must be defined before including this */
|
|
/* file. */
|
|
/* */
|
|
/* If VER_FILEVERSION is not defined, VER_PRODUCTVERSION will be */
|
|
/* used instead. If VER_FILEVERSION_STR is not defined, */
|
|
/* VER_PRODUCTVERSION_STR will be used instead. */
|
|
/* */
|
|
/* If VER_ORIGINALFILENAME_STR is not defined, it is set to */
|
|
/* the NULL string. */
|
|
/* */
|
|
/* If INTL is defined, then this is assumed to be an */
|
|
/* an international build; two string blocks will be created, */
|
|
/* (since all version resources must have English), and the */
|
|
/* second one can be localized */
|
|
/* */
|
|
/*---------------------------------------------------------------*/
|
|
|
|
#ifdef RC_INVOKED
|
|
|
|
#ifndef VER_LEGALCOPYRIGHT_YEARS
|
|
#define VER_LEGALCOPYRIGHT_YEARS "1981-1996"
|
|
#endif
|
|
|
|
#ifndef VER_LEGALCOPYRIGHT_STR
|
|
#define VER_LEGALCOPYRIGHT_STR "Copyright \251 Microsoft Corp. ", VER_LEGALCOPYRIGHT_YEARS, "\0"
|
|
#endif
|
|
|
|
#ifndef VER_FILEVERSION
|
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
|
#endif
|
|
|
|
#ifndef VER_FILEVERSION_STR
|
|
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
|
#endif
|
|
|
|
#ifndef VER_ORIGINALFILENAME_STR
|
|
#define VER_ORIGINALFILENAME_STR "\0"
|
|
#endif
|
|
|
|
#define VER_WOWVERSION_STR "4.0"
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION VER_FILEVERSION
|
|
PRODUCTVERSION VER_PRODUCTVERSION
|
|
FILEFLAGSMASK VER_FILEFLAGSMASK
|
|
FILEFLAGS VER_FILEFLAGS
|
|
FILEOS VER_FILEOS
|
|
FILETYPE VER_FILETYPE
|
|
FILESUBTYPE VER_FILESUBTYPE
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904E4"
|
|
BEGIN
|
|
VALUE "CompanyName", VER_COMPANYNAME_STR, "\0"
|
|
VALUE "FileDescription", VER_FILEDESCRIPTION_STR, "\0"
|
|
VALUE "FileVersion", VER_FILEVERSION_STR, "\0"
|
|
VALUE "InternalName", VER_INTERNALNAME_STR, "\0"
|
|
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR, "\0"
|
|
VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR, "\0"
|
|
VALUE "ProductName", VER_PRODUCTNAME_STR, "\0"
|
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR, "\0"
|
|
VALUE "WOW Version", VER_WOWVERSION_STR, "\0"
|
|
END
|
|
|
|
#ifdef INTL
|
|
BLOCK "040904E4"
|
|
BEGIN
|
|
VALUE "CompanyName", VER_COMPANYNAME_STR, "\0"
|
|
VALUE "FileDescription", VER_FILEDESCRIPTION_STR, "\0"
|
|
VALUE "FileVersion", VER_FILEVERSION_STR, "\0"
|
|
VALUE "InternalName", VER_INTERNALNAME_STR, "\0"
|
|
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR, "\0"
|
|
VALUE "OriginalFilename",VER_ORIGINALFILENAME_STR, "\0"
|
|
VALUE "ProductName", VER_PRODUCTNAME_STR, "\0"
|
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR, "\0"
|
|
VALUE "WOW Version", VER_WOWVERSION_STR, "\0"
|
|
END
|
|
#endif
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
/* the following line should be extended for localized versions */
|
|
VALUE "Translation", 0x0409, 0x04E4
|
|
END
|
|
END
|
|
|
|
#endif
|