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.
148 lines
3.4 KiB
148 lines
3.4 KiB
//---------------------------------------------------------------------------
|
|
//
|
|
// Quartz.rcv
|
|
//
|
|
// INTERNAL QUARTZ VERSION RESOURCE FILE
|
|
//
|
|
// Description:
|
|
// This file defines the version resource used for all Quartz non-SDK
|
|
// binaries - including runtimes, tests, and tools.
|
|
//
|
|
// Notes:
|
|
// All strings MUST have an explicit \0 for termination!
|
|
//
|
|
// For a complete description of the Version Resource, search the
|
|
// Microsoft Developer's Network (MSDN) CD-ROM for 'version resource'.
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#ifndef _QUARTZ_RCV_
|
|
#define _QUARTZ_RCV_
|
|
|
|
#ifdef WIN32
|
|
#include <winver.h>
|
|
#else
|
|
#include <ver.h>
|
|
#endif
|
|
|
|
#ifndef _QUARTZ_VER_
|
|
#include <quartz.ver>
|
|
#endif
|
|
|
|
//
|
|
// Version flags.
|
|
//
|
|
// OFFICIAL and FINAL should be defined when appropriate.
|
|
//
|
|
|
|
#ifndef OFFICIAL
|
|
#define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
|
|
#else
|
|
#define VER_PRIVATEBUILD 0
|
|
#endif
|
|
|
|
#ifndef FINAL
|
|
#define VER_PRERELEASE VS_FF_PRERELEASE
|
|
#else
|
|
#define VER_PRERELEASE 0
|
|
#endif
|
|
|
|
#ifdef DEBUG
|
|
#define VER_DEBUG VS_FF_DEBUG
|
|
#else
|
|
#define VER_DEBUG 0
|
|
#endif
|
|
|
|
//
|
|
// Quartz information
|
|
//
|
|
// See Quartz.ver for global defines.
|
|
// See individual projects for file specific defines.
|
|
//
|
|
|
|
#define VERSION_RES_FLAGSMASK 0x0030003FL
|
|
#define VERSION_RES_FLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
|
|
|
|
#ifdef WIN32
|
|
#define VERSION_RES_OS VOS__WINDOWS32
|
|
#else
|
|
#define VERSION_RES_OS VOS_DOS_WINDOWS16
|
|
#endif
|
|
|
|
#ifndef VERSION_RES_TYPE
|
|
#define VERSION_RES_TYPE VFT_DLL
|
|
#endif
|
|
|
|
#ifndef VERSION_RES_SUBTYPE
|
|
#define VERSION_RES_SUBTYPE VFT2_UNKNOWN
|
|
#endif
|
|
|
|
#define VERSION_RES_LANGUAGE 0x409
|
|
|
|
#ifdef UNICODE
|
|
#define VERSION_RES_CHARSET 1200
|
|
#else
|
|
#define VERSION_RES_CHARSET 1252
|
|
#endif
|
|
|
|
#ifndef VERSION_RES_ACTIVEX
|
|
#define VERSION_RES_ACTIVEX "Filter dll\0"
|
|
#endif
|
|
|
|
#ifdef AMOVIE_SELF_REGISTER
|
|
#ifndef OLE_SELF_REGISTER
|
|
#define OLE_SELF_REGISTER
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef OLE_SELF_REGISTER
|
|
#ifdef AMOVIE_SELF_REGISTER
|
|
#define VERSION_RES_SELFREGISTER "DXM20\0"
|
|
#else
|
|
#define VERSION_RES_SELFREGISTER "\0"
|
|
#endif
|
|
#endif
|
|
|
|
//
|
|
// Version resource
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION VERSION_RES_VER_MAJOR, VERSION_RES_VER_MINOR, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE
|
|
PRODUCTVERSION VERSION_RES_VER_MAJOR, VERSION_RES_VER_MINOR, VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE
|
|
FILEFLAGSMASK VERSION_RES_FLAGSMASK
|
|
FILEFLAGS VERSION_RES_FLAGS
|
|
FILEOS VERSION_RES_OS
|
|
FILETYPE VERSION_RES_TYPE
|
|
FILESUBTYPE VERSION_RES_SUBTYPE
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904E4"
|
|
BEGIN
|
|
VALUE "CompanyName", VERSION_RES_COMPANYNAME
|
|
VALUE "FileDescription", VERSION_RES_DESCRIPTION
|
|
VALUE "FileVersion", VERSION_RES_VERSION
|
|
VALUE "InternalName", VERSION_RES_NAME
|
|
VALUE "LegalCopyright", VERSION_RES_COPYRIGHT
|
|
VALUE "OriginalFilename", VERSION_RES_NAME
|
|
VALUE "ProductName", VERSION_RES_PRODUCTNAME
|
|
#ifdef DEBUG
|
|
VALUE "ProductVersion", VERSION_RES_VERSION_D
|
|
#else
|
|
VALUE "ProductVersion", VERSION_RES_VERSION
|
|
#endif
|
|
VALUE "DirectShow", VERSION_RES_ACTIVEX
|
|
#ifdef OLE_SELF_REGISTER
|
|
VALUE "OLESelfRegister", VERSION_RES_SELFREGISTER
|
|
#endif
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", VERSION_RES_LANGUAGE, VERSION_RES_CHARSET
|
|
END
|
|
END
|
|
|
|
#endif
|
|
// _QUARTZ_RCV_
|