Source code of Windows XP (NT5)
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.

53 lines
1.7 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // File: registry.h
  4. //
  5. // History: 04-Dec-00 markder Created.
  6. //
  7. // Desc: This file contains AppsHelp enumerations taken from Win2K
  8. // RTM sources.
  9. //
  10. ///////////////////////////////////////////////////////////////////////////////
  11. //
  12. // These are the attribute IDs for all the attributes
  13. //
  14. // Do not change any values in this enum. You can only add new values
  15. // immediately above VTID_LASTID
  16. //
  17. typedef enum {
  18. VTID_BAD_VTID = 0, // do not use or change !!!
  19. VTID_REQFILE = 1, // this should never change !!!
  20. VTID_FILESIZE = VTID_REQFILE + 1,
  21. VTID_EXETYPE = VTID_REQFILE + 2,
  22. VTID_BINFILEVER = VTID_REQFILE + 3,
  23. VTID_BINPRODUCTVER = VTID_REQFILE + 4,
  24. VTID_FILEDATEHI = VTID_REQFILE + 5,
  25. VTID_FILEDATELO = VTID_REQFILE + 6,
  26. VTID_FILEVEROS = VTID_REQFILE + 7,
  27. VTID_FILEVERTYPE = VTID_REQFILE + 8,
  28. VTID_CHECKSUM = VTID_REQFILE + 9,
  29. VTID_PECHECKSUM = VTID_REQFILE +10,
  30. VTID_COMPANYNAME = VTID_REQFILE +11,
  31. VTID_PRODUCTVERSION = VTID_REQFILE +12,
  32. VTID_PRODUCTNAME = VTID_REQFILE +13,
  33. VTID_FILEDESCRIPTION = VTID_REQFILE +14,
  34. VTID_FILEVERSION = VTID_REQFILE +15,
  35. VTID_ORIGINALFILENAME = VTID_REQFILE +16,
  36. VTID_INTERNALNAME = VTID_REQFILE +17,
  37. VTID_LEGALCOPYRIGHT = VTID_REQFILE +18,
  38. VTID_16BITDESCRIPTION = VTID_REQFILE +19,
  39. VTID_UPTOBINPRODUCTVER = VTID_REQFILE +20,
  40. // add new versions here
  41. VTID_LASTID
  42. };
  43. BOOL WriteRegistryFiles(
  44. SdbDatabase* pDatabase,
  45. CString csRegFile,
  46. CString csInxFile,
  47. BOOL bAddExeStubs);