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.
32 lines
1.0 KiB
32 lines
1.0 KiB
//
|
|
// The purpose of this include file is to change the minor version number for
|
|
// Windows Update components from 1 (Whistler) to 4.
|
|
//
|
|
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
// Override ntverp.h
|
|
// Minor version 4 is Windows Update specific, Whistler is minor version 1.
|
|
#undef VER_PRODUCTMINORVERSION
|
|
#define VER_PRODUCTMINORVERSION 4
|
|
|
|
// Override the build number when the Windows Update build lab is building.
|
|
#ifdef VER_PRODUCTBUILD
|
|
#undef VER_PRODUCTBUILD
|
|
#define VER_PRODUCTBUILD 3630
|
|
#endif
|
|
|
|
|
|
// Override the QFE number when the Windows Update build lab is building.
|
|
//#ifdef VER_PRODUCTBUILD_QFE
|
|
//#undef VER_PRODUCTBUILD_QFE
|
|
//#include "wubldnum.h"
|
|
//#endif
|
|
|
|
#undef VER_PRODUCTVERSION_STRING
|
|
#define VER_PRODUCTVERSION_STRING VER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
|
|
|
|
#undef VER_PRODUCTVERSION
|
|
#define VER_PRODUCTVERSION VER_PRODUCTMAJORVERSION,VER_PRODUCTMINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
|
|
|
|
#define WU_VER_FILEDESCRIPTION_STR(component) "Windows Update " component
|