54 lines
1.7 KiB
C
54 lines
1.7 KiB
C
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// File: registry.h
|
|
//
|
|
// History: 04-Dec-00 markder Created.
|
|
//
|
|
// Desc: This file contains AppsHelp enumerations taken from Win2K
|
|
// RTM sources.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
// These are the attribute IDs for all the attributes
|
|
//
|
|
// Do not change any values in this enum. You can only add new values
|
|
// immediately above VTID_LASTID
|
|
//
|
|
typedef enum {
|
|
VTID_BAD_VTID = 0, // do not use or change !!!
|
|
VTID_REQFILE = 1, // this should never change !!!
|
|
VTID_FILESIZE = VTID_REQFILE + 1,
|
|
VTID_EXETYPE = VTID_REQFILE + 2,
|
|
VTID_BINFILEVER = VTID_REQFILE + 3,
|
|
VTID_BINPRODUCTVER = VTID_REQFILE + 4,
|
|
VTID_FILEDATEHI = VTID_REQFILE + 5,
|
|
VTID_FILEDATELO = VTID_REQFILE + 6,
|
|
VTID_FILEVEROS = VTID_REQFILE + 7,
|
|
VTID_FILEVERTYPE = VTID_REQFILE + 8,
|
|
VTID_CHECKSUM = VTID_REQFILE + 9,
|
|
VTID_PECHECKSUM = VTID_REQFILE +10,
|
|
VTID_COMPANYNAME = VTID_REQFILE +11,
|
|
VTID_PRODUCTVERSION = VTID_REQFILE +12,
|
|
VTID_PRODUCTNAME = VTID_REQFILE +13,
|
|
VTID_FILEDESCRIPTION = VTID_REQFILE +14,
|
|
VTID_FILEVERSION = VTID_REQFILE +15,
|
|
VTID_ORIGINALFILENAME = VTID_REQFILE +16,
|
|
VTID_INTERNALNAME = VTID_REQFILE +17,
|
|
VTID_LEGALCOPYRIGHT = VTID_REQFILE +18,
|
|
VTID_16BITDESCRIPTION = VTID_REQFILE +19,
|
|
VTID_UPTOBINPRODUCTVER = VTID_REQFILE +20,
|
|
|
|
// add new versions here
|
|
|
|
VTID_LASTID
|
|
};
|
|
|
|
BOOL WriteRegistryFiles(
|
|
SdbDatabase* pDatabase,
|
|
CString csRegFile,
|
|
CString csInxFile,
|
|
BOOL bAddExeStubs);
|
|
|
|
|